diff options
| author | John MacFarlane <[email protected]> | 2025-09-17 14:18:08 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-09-17 14:24:33 +0200 |
| commit | d820620ccd519e1793c63845bbf0a4d31c01976e (patch) | |
| tree | 5fd721d5bc6224b81b9980d63d22243afaf77f39 /test/command/9002.md | |
| parent | bbd7b60432be3f4ff0e37c2e3e33ed0121a9ecd3 (diff) | |
Docx reader: properly calculate table column widths.
Previously we assumed that every table took up the full text
width. Now we read the text width from the document's
sectPr.
Closes #9837.
Closes #11147.
Diffstat (limited to 'test/command/9002.md')
| -rw-r--r-- | test/command/9002.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command/9002.md b/test/command/9002.md index 4a8e9baf9..91f983881 100644 --- a/test/command/9002.md +++ b/test/command/9002.md @@ -1,11 +1,11 @@ ``` % pandoc command/9002.docx -t html ^D -<table> +<table style="width:40%;"> <caption><p>This is my table!</p></caption> <colgroup> -<col style="width: 50%" /> -<col style="width: 50%" /> +<col style="width: 20%" /> +<col style="width: 20%" /> </colgroup> <thead> <tr> |
