summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Ms.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:18:56 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:23:19 +0100
commit2251d9cb737dee44b7aad587972c8098057f99d1 (patch)
tree9c34b4187e652bef119c68d06332cc292ef5ddf4 /src/Text/Pandoc/Writers/Ms.hs
parentc964898899688f495197f300f05d5ee15beff411 (diff)
Ms writer: Use custom .HRULE macro for horizontal rule.
Diffstat (limited to 'src/Text/Pandoc/Writers/Ms.hs')
-rw-r--r--src/Text/Pandoc/Writers/Ms.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Ms.hs b/src/Text/Pandoc/Writers/Ms.hs
index ceec05ae7..eb56611ba 100644
--- a/src/Text/Pandoc/Writers/Ms.hs
+++ b/src/Text/Pandoc/Writers/Ms.hs
@@ -228,7 +228,8 @@ blockToMs _ b@(RawBlock f str)
| otherwise = do
report $ BlockNotRendered b
return empty
-blockToMs _ HorizontalRule = return $ text ".PP" $$ text " * * * * *"
+blockToMs _ HorizontalRule =
+ return $ text ".HLINE"
blockToMs opts (Header level _ inlines) = do
contents <- inlineListToMs' opts inlines
let heading = if writerNumberSections opts