aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-13 08:29:09 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-13 08:29:09 -0700
commitdb989854d37179f590e41cbdd594dc92249779af (patch)
treee483f556b9390f2cbe477cb787f99814c9e6fb4c /src
parent2df3dfe88391f9e5a0ec4e10aff0abbf0c88bb0a (diff)
parentf464e49142b68b0044c11c843259e586f65b17b0 (diff)
downloadpandoc-db989854d37179f590e41cbdd594dc92249779af.tar.gz
Merge pull request #2295 from dev-zero/master
DokuWiki: write $..$ instead of <math>..</math>
Diffstat (limited to 'src')
-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 7164c6e86..7ebe09db7 100644
--- a/src/Text/Pandoc/Writers/DokuWiki.hs
+++ b/src/Text/Pandoc/Writers/DokuWiki.hs
@@ -451,7 +451,7 @@ inlineToDokuWiki _ (Code _ str) =
inlineToDokuWiki _ (Str str) = return $ escapeString str
-inlineToDokuWiki _ (Math _ str) = return $ "<math>" ++ str ++ "</math>"
+inlineToDokuWiki _ (Math _ str) = return $ "$" ++ str ++ "$"
-- note: str should NOT be escaped
inlineToDokuWiki _ (RawInline f str)