Added multilingual URL tests for markdown reader.
This commit is contained in:
parent
85ca50d623
commit
c3384bb3f1
2 changed files with 13 additions and 1 deletions
|
@ -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","")] ]
|
||||
|
||||
|
|
|
@ -83,3 +83,11 @@ there`
|
|||
|
||||
there`
|
||||
|
||||
## Multilingual URLs
|
||||
|
||||
<http://测.com?测=测>
|
||||
|
||||
[foo](/bar/测?x=测 "title")
|
||||
|
||||
<测@foo.测.baz>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue