aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-01-14 17:38:34 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2013-01-14 17:38:34 -0800
commit51e0bd277a736fe7d11e456a17ff7995b71db60e (patch)
tree600bee8d5e4e075a6cc9bb9d827e1bd83a8b2221 /tests
parent0ef24d15188243aa7ad78c4ef65d6c6b8ed0a84e (diff)
downloadpandoc-51e0bd277a736fe7d11e456a17ff7995b71db60e.tar.gz
Parsing: Fixed uri -- escape unicode URLs.
Otherwise Network.URI.parseURI fails on e.g. Chinese URLs. Changed an incorrect test in markdown-reader-more.
Diffstat (limited to 'tests')
-rw-r--r--tests/markdown-reader-more.native2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native
index 2a345a977..057bcf585 100644
--- a/tests/markdown-reader-more.native
+++ b/tests/markdown-reader-more.native
@@ -29,7 +29,7 @@
,Para [Str "`hi"]
,Para [Str "there`"]
,Header 2 ("multilingual-urls",[],[]) [Str "Multilingual",Space,Str "URLs"]
-,Para [RawInline "html" "<http://\27979.com?\27979=\27979>"]
+,Para [Link [Str "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")]
,Para [Link [Str "foo"] ("/bar/\27979?x=\27979","title")]
,Para [Link [Str "\27979@foo.\27979.baz"] ("mailto:\27979@foo.\27979.baz","")]
,Header 2 ("numbered-examples",[],[]) [Str "Numbered",Space,Str "examples"]