diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-02 19:39:30 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-02 19:39:30 -0800 |
commit | bdec07bac9efb737dbc60e6985d8ba1500a5eeb9 (patch) | |
tree | 5362789da366fe94f39cbbb843891fba3c2b46b1 /tests/markdown-reader-more.native | |
parent | c6456ef8a4d3e0412ae7c2c78433cfcbe29aea9f (diff) | |
download | pandoc-bdec07bac9efb737dbc60e6985d8ba1500a5eeb9.tar.gz |
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.
Diffstat (limited to 'tests/markdown-reader-more.native')
-rw-r--r-- | tests/markdown-reader-more.native | 6 |
1 files changed, 3 insertions, 3 deletions
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" "<http://\27979.com?\27979=\27979>"] +,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 "."]] |