aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs
index 93f7dd799..a380fd4fa 100644
--- a/src/Text/Pandoc/Writers/Docx.hs
+++ b/src/Text/Pandoc/Writers/Docx.hs
@@ -732,9 +732,9 @@ mkLvl marker lvl =
, mknode "w:lvlText" [("w:val",lvltxt)] ()
, mknode "w:lvlJc" [("w:val","left")] ()
, mknode "w:pPr" []
- [ mknode "w:tabs" []
- $ mknode "w:tab" [("w:val","num"),("w:pos",show $ lvl * step)] ()
- , mknode "w:ind" [("w:left",show $ lvl * step + hang),("w:hanging",show hang)] ()
+ [ mknode "w:ind" [ ("w:left",show $ lvl * step + step)
+ , ("w:hanging",show (hang :: Int))
+ ] ()
]
]
where (fmt, lvltxt, start) =