diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-03-23 15:06:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-03-23 15:07:17 -0700 |
commit | c3384bb3f147e61d9eba8dd2d3ce0b1450003d4a (patch) | |
tree | 11bfe5b82e521846db3d430d67300093e2582b20 | |
parent | 85ca50d623a8b8e789615b48282cba648b5c558a (diff) | |
download | pandoc-c3384bb3f147e61d9eba8dd2d3ce0b1450003d4a.tar.gz |
Added multilingual URL tests for markdown reader.
-rw-r--r-- | tests/markdown-reader-more.native | 6 | ||||
-rw-r--r-- | tests/markdown-reader-more.txt | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index ccf29329e..9ce783fb8 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -27,5 +27,9 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple", , Para [Code "hi there"] , Para [Code "hi````there"] , Para [Str "`",Str "hi"] -, Para [Str "there",Str "`"] ] +, Para [Str "there",Str "`"] +, Header 2 [Str "Multilingual",Space,Str "URLs"] +, Para [Link [Code "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")] +, Para [Link [Str "foo"] ("/bar/%E6%B5%8B?x=%E6%B5%8B","title")] +, Para [Link [Code "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")] ] diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt index bc1260cfc..1feb1e5d4 100644 --- a/tests/markdown-reader-more.txt +++ b/tests/markdown-reader-more.txt @@ -83,3 +83,11 @@ there` there` +## Multilingual URLs + +<http://测.com?测=测> + +[foo](/bar/测?x=测 "title") + +<测@foo.测.baz> + |