From 619dfa2a2a19a8433424e830a21384c7b520866a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 30 Nov 2021 12:53:54 -0800 Subject: Markdown reader: don't allow `^` at beginning of link or image label. This is reserved for footnotes. Fixes a regression introduced by 0a93acf. Closes #7723. --- test/command/7723.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/command/7723.md (limited to 'test') diff --git a/test/command/7723.md b/test/command/7723.md new file mode 100644 index 000000000..f3229eb1e --- /dev/null +++ b/test/command/7723.md @@ -0,0 +1,8 @@ +``` +% pandoc -t native +Bug![^1] + +[^1]: Note. +^D +[ Para [ Str "Bug!" , Note [ Para [ Str "Note." ] ] ] ] +``` -- cgit v1.2.3