git.iko.soy/typeable/pandoc
on master help sign in
Added multilingual URL tests for markdown reader.
commitc3384bb3f147e61d9eba8dd2d3ce0b1450003d4a authorJohn MacFarlane <jgm@berkeley.edu> dateTue 23 Mar 2010, 15:06 (17 years ago) parent85ca50d
2 files changed+13−1
tests/markdown-reader-more.native+5−1 tests/markdown-reader-more.txt+8
tests/markdown-reader-more.native+5−1
@@ -27,5 +27,9 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple",
2727, Para [Code "hi there"]
2828, Para [Code "hi````there"]
2929, Para [Str "`",Str "hi"]
30−, Para [Str "there",Str "`"] ]
30+, Para [Str "there",Str "`"]
31+, Header 2 [Str "Multilingual",Space,Str "URLs"]
32+, Para [Link [Code "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")]
33+, Para [Link [Str "foo"] ("/bar/%E6%B5%8B?x=%E6%B5%8B","title")]
34+, Para [Link [Code "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")] ]
3135
tests/markdown-reader-more.txt+8
@@ -83,3 +83,11 @@ there`
8383
8484there`
8585
86+## Multilingual URLs
87+
88+<http://测.com?测=测>
89+
90+[foo](/bar/测?x=测 "title")
91+
92+<测@foo.测.baz>
93+