diff options
author | Clare Macrae <clare.macrae@googlemail.com> | 2013-07-14 14:24:20 +0100 |
---|---|---|
committer | Clare Macrae <clare.macrae@googlemail.com> | 2013-07-14 14:24:20 +0100 |
commit | a43e5983da90419c5b6c01fe03febc3797c2d9aa (patch) | |
tree | c69a31b7c7194581a8a661b848ee4c213c1d6037 /src/Text/Pandoc | |
parent | 7eded47bcdd10d1e32125121c7b84f952b1a326e (diff) | |
download | pandoc-a43e5983da90419c5b6c01fe03febc3797c2d9aa.tar.gz |
Implemented correct output of dokuwiki (#386)
Diffstat (limited to 'src/Text/Pandoc')
-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 b3483adf2..dabece5f0 100644 --- a/src/Text/Pandoc/Writers/DokuWiki.hs +++ b/src/Text/Pandoc/Writers/DokuWiki.hs @@ -112,7 +112,7 @@ blockToDokuWiki _ HorizontalRule = return "\n-----\n" blockToDokuWiki opts (Header level _ inlines) = do contents <- inlineListToDokuWiki opts inlines - let eqs = replicate level '=' + let eqs = replicate ( 7 - level ) '=' return $ eqs ++ " " ++ contents ++ " " ++ eqs ++ "\n" blockToDokuWiki _ (CodeBlock (_,classes,_) str) = do |