diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-05-25 12:11:46 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-05-25 12:11:46 +0200 |
commit | 650e1ac1fdbbb172c58c1898607a7f82806cf55e (patch) | |
tree | 42d19ae1172130ac6a7bff92f952a9c38a57e790 /src/Text | |
parent | e34131502af7ac16bac60a0a8081ffc45d6b1b1e (diff) | |
download | pandoc-650e1ac1fdbbb172c58c1898607a7f82806cf55e.tar.gz |
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')
-rw-r--r-- | src/Text/Pandoc/Writers/Docx.hs | 2 |
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)] () |