diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-04 23:16:49 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-01-04 23:16:49 -0800 |
commit | 91e8d80eee405e4bbb40bf247724b453187619f9 (patch) | |
tree | be538098ca129d0e1b61e811aac622f49ba7b591 /src/Text/Pandoc | |
parent | 0f9e2c2320f5df2287b5cd37a4a8fab148af47a9 (diff) | |
download | pandoc-91e8d80eee405e4bbb40bf247724b453187619f9.tar.gz |
MediaWiki writer: use `<code>` not `<tt>` for Code.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/MediaWiki.hs | 2 |
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 |