aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-07-18 22:30:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-18 22:31:03 -0700
commit28cad165179378369fcf4d25656ea28357026baa (patch)
treed94b27ef8175fbdfaee04828bf5b6f64528acd4a /test/Tests/Writers
parent5c655e86d5d34172bc5892927309d8dff6023493 (diff)
downloadpandoc-28cad165179378369fcf4d25656ea28357026baa.tar.gz
Markdown writer: prefer using raw_attribute when enabled.
The `raw_attribute` will be used to mark raw bits, even HTML and LaTeX, and even when `raw_html` and `raw_tex` are enabled, as they are by default. To get the old behavior, disable `raw_attribute` in the writer. Closes #4311.
Diffstat (limited to 'test/Tests/Writers')
-rw-r--r--test/Tests/Writers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tests/Writers/Markdown.hs b/test/Tests/Writers/Markdown.hs
index 533be268a..aae4d082c 100644
--- a/test/Tests/Writers/Markdown.hs
+++ b/test/Tests/Writers/Markdown.hs
@@ -40,7 +40,7 @@ infix 4 =:
tests :: [TestTree]
tests = [ "indented code after list"
=: (orderedList [ para "one" <> para "two" ] <> codeBlock "test")
- =?> "1. one\n\n two\n\n<!-- -->\n\n test"
+ =?> "1. one\n\n two\n\n```{=html}\n<!-- -->\n```\n test"
, "list with tight sublist"
=: bulletList [ plain "foo" <> bulletList [ plain "bar" ],
plain "baz" ]