diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-24 09:18:56 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-24 09:23:19 +0100 |
commit | 2251d9cb737dee44b7aad587972c8098057f99d1 (patch) | |
tree | 9c34b4187e652bef119c68d06332cc292ef5ddf4 /src/Text/Pandoc | |
parent | c964898899688f495197f300f05d5ee15beff411 (diff) | |
download | pandoc-2251d9cb737dee44b7aad587972c8098057f99d1.tar.gz |
Ms writer: Use custom .HRULE macro for horizontal rule.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/Ms.hs | 3 |
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 |