diff options
author | Mauro Bieg <mb21@users.noreply.github.com> | 2016-12-24 15:34:07 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-12-24 07:34:07 -0700 |
commit | 0159956f7fc008ecc28632920e700878aa3f5996 (patch) | |
tree | 6726fb44ca5374c0fbf8e13c572a2224e3afc3f4 /tests/Tests/Readers | |
parent | b87276576541b3117ca7360bf2a04227802cf837 (diff) | |
download | pandoc-0159956f7fc008ecc28632920e700878aa3f5996.tar.gz |
markdown reader: disallow space between inline code and attributes (#3326)
closes #3323
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/Markdown.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs index 739763e77..439307dc9 100644 --- a/tests/Tests/Readers/Markdown.hs +++ b/tests/Tests/Readers/Markdown.hs @@ -149,7 +149,8 @@ tests = [ testGroup "inline code" (codeWith ("",["javascript"],[]) "document.write(\"Hello\");") , "with attribute space" =: "`*` {.haskell .special x=\"7\"}" - =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*") + =?> para (code "*" <> space <> str "{.haskell" <> space <> + str ".special" <> space <> str "x=\"7\"}") ] , testGroup "emph and strong" [ "two strongs in emph" =: |