diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2024-03-14 11:04:26 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2024-03-14 11:04:26 -0700 |
| commit | 95661b6a0584329e1f219e94aacfee945436fa52 (patch) | |
| tree | 2d27c9115e419979910065dc29f12f5bcdca34e4 /src | |
| parent | 876bd497868c4511e4463005062350c52324d22c (diff) | |
Markdown reader: Fix bug with footnotes at end of fenced div.
Cloess #9576.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/Markdown.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 2890c0125..206e5bc3c 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -417,6 +417,7 @@ noteMarker = string "[^" >> rawLine :: PandocMonad m => MarkdownParser m Text rawLine = try $ do notFollowedBy blankline + notFollowedByDivCloser notFollowedBy' $ try $ skipNonindentSpaces >> noteMarker optional indentSpaces anyLine |
