From bdec07bac9efb737dbc60e6985d8ba1500a5eeb9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 2 Dec 2011 19:39:30 -0800 Subject: Shared: Removed unescapeURI, modified escapeURI. escapeURI now only escapes space characters, leaving unicode characters as they are, instead of converting them to octets and URL-encoding them, as before. This gives more readable URIs. User agents now do the percent-encoding themselves. URIs are no longer unescaped at all on conversion to markdown, asciidoc, rst, org. Closes #349. --- tests/markdown-reader-more.native | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/markdown-reader-more.native') diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index e5e079e9f..3b2221d7b 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -29,9 +29,9 @@ ,Para [Str "`",Str "hi"] ,Para [Str "there",Str "`"] ,Header 2 [Str "Multilingual",Space,Str "URLs"] -,Para [Link [Code ("",["url"],[]) "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 ("",["url"],[]) "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")] +,Plain [RawInline "html" ""] +,Para [Link [Str "foo"] ("/bar/\27979?x=\27979","title")] +,Para [Link [Code ("",["url"],[]) "\27979@foo.\27979.baz"] ("mailto:\27979@foo.\27979.baz","")] ,Header 2 [Str "Numbered",Space,Str "examples"] ,OrderedList (1,Example,TwoParens) [[Plain [Str "First",Space,Str "example",Str "."]] -- cgit v1.2.3