aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authordanse <f.occhipinti@gmail.com>2018-02-12 17:10:29 +0100
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-02-15 15:06:01 -0500
commite6ff7f79861d3088f8cba2b22d86d9f75db73f6a (patch)
tree885440592bae86a5d5178ba650a471f8dc2acdb3 /test/Tests
parent82a0ceaf18e589e8916fbd70e0b13e5945bcc99a (diff)
downloadpandoc-e6ff7f79861d3088f8cba2b22d86d9f75db73f6a.tar.gz
Docx reader: Pick table width from the longest row or header
This change is intended to preserve as much of the table content as possible Closes #4360
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Docx.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index 89a605bf7..9c9a8179b 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -273,6 +273,10 @@ tests = [ testGroup "inlines"
"docx/table_one_row.docx"
"docx/table_one_row.native"
, testCompare
+ "tables with variable width"
+ "docx/table_variable_width.docx"
+ "docx/table_variable_width.native"
+ , testCompare
"code block"
"docx/codeblock.docx"
"docx/codeblock.native"