aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-reader-more.native
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-15 22:56:53 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-15 23:02:17 -0800
commitcc410a71b58de1fa0e508a092b7c1d8ba6d3d3ab (patch)
tree8787b90c78b7367e46a61833a4bd721e255ab73c /tests/markdown-reader-more.native
parent59764fa3884e63ee9711cc2d0da2ef3133c641ba (diff)
downloadpandoc-cc410a71b58de1fa0e508a092b7c1d8ba6d3d3ab.tar.gz
Allow `&` in emails (for entities).
Added tests for entities in titles and links. Closes #723.
Diffstat (limited to 'tests/markdown-reader-more.native')
-rw-r--r--tests/markdown-reader-more.native7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native
index 69b29992c..84d3a71e2 100644
--- a/tests/markdown-reader-more.native
+++ b/tests/markdown-reader-more.native
@@ -124,4 +124,9 @@
[[]
,[]]
[[[]
- ,[]]]]
+ ,[]]]
+,Header 2 ("entities-in-links-and-titles",[],[]) [Str "Entities",Space,Str "in",Space,Str "links",Space,Str "and",Space,Str "titles"]
+,Para [Link [Str "link"] ("/\252rl","\246\246!")]
+,Para [Link [Str "http://g\246\246gle.com"] ("http://g\246\246gle.com","")]
+,Para [Link [Str "me@ex\228mple.com"] ("mailto:me@ex\228mple.com","")]
+,Para [Link [Str "foobar"] ("/\252rl","\246\246!")]]