diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2014-08-14 10:56:41 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2014-08-14 10:59:27 -0700 |
| commit | 8bf39cf6d676ec9ebb8ac0e13b60621ea363d6f3 (patch) | |
| tree | 65dcdc1cf51026d60234d932e88b3f144ec8e92a /tests/markdown-reader-more.native | |
| parent | 5524b5286bd51386b149bfc0846a94aa77dc64db (diff) | |
Markdown reader: Better handle quote characters in inline links.
This was previously failing to be recognized as a link:
[Test](http://en.wikipedia.org/wiki/Ward's_method)
Closes #1534.
Diffstat (limited to 'tests/markdown-reader-more.native')
| -rw-r--r-- | tests/markdown-reader-more.native | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 3e171e085..30da0afbb 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -5,9 +5,10 @@ ,Plain [RawInline (Format "tex") "\\placeformula "] ,RawBlock (Format "context") "\\startformula\n L_{1} = L_{2}\n \\stopformula" ,RawBlock (Format "context") "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]" -,Header 2 ("urls-with-spaces",[],[]) [Str "URLs",Space,Str "with",Space,Str "spaces"] +,Header 2 ("urls-with-spaces-and-punctuation",[],[]) [Str "URLs",Space,Str "with",Space,Str "spaces",Space,Str "and",Space,Str "punctuation"] ,Para [Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("bar%20baz","title")] ,Para [Link [Str "baz"] ("/foo%20foo",""),Space,Link [Str "bam"] ("/foo%20fee",""),Space,Link [Str "bork"] ("/foo/zee%20zob","title")] +,Para [Link [Str "Ward\8217s",Space,Str "method."] ("http://en.wikipedia.org/wiki/Ward's_method","")] ,Header 2 ("horizontal-rules-with-spaces-at-end",[],[]) [Str "Horizontal",Space,Str "rules",Space,Str "with",Space,Str "spaces",Space,Str "at",Space,Str "end"] ,HorizontalRule ,HorizontalRule |
