aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorclaremacrae <github@cfmacrae.fastmail.co.uk>2013-08-17 12:20:34 +0100
committerclaremacrae <github@cfmacrae.fastmail.co.uk>2013-08-17 12:20:34 +0100
commit4c48433a2aaae080acbd74450bd5f70b714475be (patch)
tree5713f9255c0121d877c5d13c111ea082d3295ed9 /src/Text/Pandoc/Writers
parent573bd1b61b58e66c1e0ecfb4e74928a9d9d27daf (diff)
downloadpandoc-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.hs2
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