diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-10-22 21:18:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-10-22 21:18:06 -0700 |
commit | a7150bb6b625dec9fd641dc770ab61a32e9d4e2c (patch) | |
tree | 72232f129e607c5866e82fcbad0a3378b9728ce8 /tests | |
parent | a21833b638c6c54925c89f91bfe09c056e5481a8 (diff) | |
download | pandoc-a7150bb6b625dec9fd641dc770ab61a32e9d4e2c.tar.gz |
Fixed over-eager raw HTML inline parsing.
Tightened up the inline HTML parser so it disallows
TagWarnings.
This only affects the markdown reader when the `markdown_in_html_blocks`
option is disabled.
Closes #2469.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Markdown.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs index c24d2293f..f6afacb34 100644 --- a/tests/Tests/Readers/Markdown.hs +++ b/tests/Tests/Readers/Markdown.hs @@ -181,6 +181,9 @@ tests = [ testGroup "inline code" , "technically invalid comment" =: "<!-- pandoc --help -->" =?> rawBlock "html" "<!-- pandoc --help -->" + , test markdownGH "issue 2469" $ + "<\n\na>" =?> + para (text "<") <> para (text "a>") ] , "unbalanced brackets" =: "[[[[[[[[[[[[[[[hi" =?> para (text "[[[[[[[[[[[[[[[hi") |