summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-01-04 23:16:49 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-01-04 23:16:49 -0800
commit91e8d80eee405e4bbb40bf247724b453187619f9 (patch)
treebe538098ca129d0e1b61e811aac622f49ba7b591 /src/Text/Pandoc
parent0f9e2c2320f5df2287b5cd37a4a8fab148af47a9 (diff)
MediaWiki writer: use `<code>` not `<tt>` for Code.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/MediaWiki.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/MediaWiki.hs b/src/Text/Pandoc/Writers/MediaWiki.hs
index ca29fe2e1..81e7a6d33 100644
--- a/src/Text/Pandoc/Writers/MediaWiki.hs
+++ b/src/Text/Pandoc/Writers/MediaWiki.hs
@@ -360,7 +360,7 @@ inlineToMediaWiki opts (Quoted DoubleQuote lst) = do
inlineToMediaWiki opts (Cite _ lst) = inlineListToMediaWiki opts lst
inlineToMediaWiki _ (Code _ str) =
- return $ "<tt>" ++ (escapeString str) ++ "</tt>"
+ return $ "<code>" ++ (escapeString str) ++ "</code>"
inlineToMediaWiki _ (Str str) = return $ escapeString str