summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Docx.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-25 12:11:46 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-25 12:11:46 +0200
commit650e1ac1fdbbb172c58c1898607a7f82806cf55e (patch)
tree42d19ae1172130ac6a7bff92f952a9c38a57e790 /src/Text/Pandoc/Writers/Docx.hs
parente34131502af7ac16bac60a0a8081ffc45d6b1b1e (diff)
Docx writer: Use Table rather than "Table Normal" for table style.
"Table Normal" is the default table style and can't be modified. Closes #3275, further testing welcome.
Diffstat (limited to 'src/Text/Pandoc/Writers/Docx.hs')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs
index a10840033..5b714ba41 100644
--- a/src/Text/Pandoc/Writers/Docx.hs
+++ b/src/Text/Pandoc/Writers/Docx.hs
@@ -953,7 +953,7 @@ blockToOpenXML' opts (Table caption aligns widths headers rows) = do
caption' ++
[mknode "w:tbl" []
( mknode "w:tblPr" []
- ( mknode "w:tblStyle" [("w:val","TableNormal")] () :
+ ( mknode "w:tblStyle" [("w:val","Table")] () :
mknode "w:tblW" [("w:type", "pct"), ("w:w", show rowwidth)] () :
mknode "w:tblLook" [("w:firstRow","1") | hasHeader ] () :
[ mknode "w:tblCaption" [("w:val", captionStr)] ()