aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-01-15 10:52:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2013-01-15 10:52:02 -0800
commite0e36ce54316ab69ffa5883889fed8e6f8afd919 (patch)
tree493f5b6e518fbad45473fb49dbc86df97096c284 /tests
parent7bc37e4414fc34574e5c0dbbef86d165405f9cff (diff)
downloadpandoc-e0e36ce54316ab69ffa5883889fed8e6f8afd919.tar.gz
Revised URI parser.
* It no longer uses Network.URIs URI parser, which is too restrictive (not allowing unicode URIs unless encoded). * It allows many more schemes. * It better handles punctuation so as to avoid capturing trailing punctuation in bare URLs.
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 057bcf585..e76b12918 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 [Link [Str "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")]
+,Para [Link [Str "http://\27979.com?\27979=\27979"] ("http://\27979.com?\27979=\27979","")]
,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"]