mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 15:38:09 +08:00
381b82e4a3
When a heading contained a footnote, processing the footnote's block content would consume the stFirstPara flag, causing the following paragraph to incorrectly receive BodyText style instead of FirstParagraph. Fix by saving and restoring stFirstPara around footnote block processing. Closes #11573. Co-Authored-By: Claude <noreply@anthropic.com>