diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-05-13 09:50:16 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-05-13 10:16:06 -0700 |
commit | c9cb313a479f3d134d5df1cffe5e340034fb44b4 (patch) | |
tree | 3c8aeb05ec1eb6703acd37d120e6e8f9aa97083d /tests/markdown-reader-more.native | |
parent | 70df1b572bc6859a50f43f00850bec16bff354c7 (diff) | |
download | pandoc-c9cb313a479f3d134d5df1cffe5e340034fb44b4.tar.gz |
Fixed regression in charsInBalancedBrackets.
Introduced by e9d7504.
This regression caused link and image references containing
raw tex not to parse correctly.
Added test.
Closes #2150.
Diffstat (limited to 'tests/markdown-reader-more.native')
-rw-r--r-- | tests/markdown-reader-more.native | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 96204898e..8fee4953e 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -150,6 +150,8 @@ ,Para [Link [Str "link"] ("/hi(there)","")] ,Para [Link [Str "link"] ("/hithere)","")] ,Para [Link [Str "linky"] ("hi_(there_(nested))","")] +,Header 2 ("backslashes-in-link-references",[],[]) [Str "Backslashes",Space,Str "in",Space,Str "link",Space,Str "references"] +,Para [Link [Str "*",RawInline (Format "tex") "\\a"] ("b","")] ,Header 2 ("reference-link-fallbacks",[],[]) [Str "Reference",Space,Str "link",Space,Str "fallbacks"] ,Para [Str "[",Emph [Str "not",Space,Str "a",Space,Str "link"],Str "]",Space,Str "[",Emph [Str "nope"],Str "]\8230"] ,Header 2 ("reference-link-followed-by-a-citation",[],[]) [Str "Reference",Space,Str "link",Space,Str "followed",Space,Str "by",Space,Str "a",Space,Str "citation"] |