aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorAlex Vong <alexvong1995@gmail.com>2015-09-19 19:12:35 +0800
committerAlex Vong <alexvong1995@gmail.com>2015-10-01 02:24:34 +0800
commitf5e33e0dce8a4f08e23a59a8b270d3dad94601e0 (patch)
treed2eadb58a66222bd207766e098990ab59d557401 /src/Text
parent4443af4d8d9d1ac847460c8edd77b4e9d0d9b273 (diff)
downloadpandoc-f5e33e0dce8a4f08e23a59a8b270d3dad94601e0.tar.gz
Set the template variable $hyphenate$ to true by default
* src/Text/Pandoc/Writers/Man.hs: Set $hyphenate$ to be true.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/Man.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Man.hs b/src/Text/Pandoc/Writers/Man.hs
index f91367eb9..08d1ee189 100644
--- a/src/Text/Pandoc/Writers/Man.hs
+++ b/src/Text/Pandoc/Writers/Man.hs
@@ -85,6 +85,7 @@ pandocToMan opts (Pandoc meta blocks) = do
let context = defField "body" main
$ setFieldsFromTitle
$ defField "has-tables" hasTables
+ $ defField "hyphenate" True
$ metadata
if writerStandalone opts
then return $ renderTemplate' (writerTemplate opts) context