diff options
author | claremacrae <github@cfmacrae.fastmail.co.uk> | 2013-08-17 12:20:34 +0100 |
---|---|---|
committer | claremacrae <github@cfmacrae.fastmail.co.uk> | 2013-08-17 12:20:34 +0100 |
commit | 4c48433a2aaae080acbd74450bd5f70b714475be (patch) | |
tree | 5713f9255c0121d877c5d13c111ea082d3295ed9 /src/Text/Pandoc/Writers | |
parent | 573bd1b61b58e66c1e0ecfb4e74928a9d9d27daf (diff) | |
download | pandoc-4c48433a2aaae080acbd74450bd5f70b714475be.tar.gz |
Don't add entities in <code> blocks in dokuwiki writer (#386)
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r-- | src/Text/Pandoc/Writers/DokuWiki.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/DokuWiki.hs b/src/Text/Pandoc/Writers/DokuWiki.hs index 97b1705d1..b9eb444b3 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -143,7 +143,7 @@ blockToDokuWiki _ (CodeBlock (_,classes,_) str) = do let (beg, end) = if null at then ("<code" ++ if null classes then ">" else " class=\"" ++ unwords classes ++ "\">", "</code>") else ("<source lang=\"" ++ head at ++ "\">", "</source>") - return $ beg ++ escapeString str ++ end + return $ beg ++ str ++ end blockToDokuWiki opts (BlockQuote blocks) = do contents <- blockListToDokuWiki opts blocks |