diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-13 08:29:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-13 08:29:09 -0700 |
commit | db989854d37179f590e41cbdd594dc92249779af (patch) | |
tree | e483f556b9390f2cbe477cb787f99814c9e6fb4c /src | |
parent | 2df3dfe88391f9e5a0ec4e10aff0abbf0c88bb0a (diff) | |
parent | f464e49142b68b0044c11c843259e586f65b17b0 (diff) | |
download | pandoc-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.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 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) |