summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-03-14 11:04:26 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2024-03-14 11:04:26 -0700
commit95661b6a0584329e1f219e94aacfee945436fa52 (patch)
tree2d27c9115e419979910065dc29f12f5bcdca34e4 /test
parent876bd497868c4511e4463005062350c52324d22c (diff)
Markdown reader: Fix bug with footnotes at end of fenced div.
Cloess #9576.
Diffstat (limited to 'test')
-rw-r--r--test/command/9576.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/command/9576.md b/test/command/9576.md
new file mode 100644
index 000000000..e529a8f29
--- /dev/null
+++ b/test/command/9576.md
@@ -0,0 +1,23 @@
+```
+% pandoc -t native
+::: {#something}
+Text with a footnote.[^3]
+
+[^3]: A footnote.
+:::
+^D
+[ Div
+ ( "something" , [] , [] )
+ [ Para
+ [ Str "Text"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote."
+ , Note [ Para [ Str "A" , Space , Str "footnote." ] ]
+ ]
+ ]
+]
+```