diff options
author | Ben Steinberg <bsteinberg@law.harvard.edu> | 2019-09-21 01:13:29 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-20 22:13:29 -0700 |
commit | 7389919bb491b78373ea2197800988b3a61cf0ce (patch) | |
tree | 1f8dbcae39a7d60b9c4e1f7761d1cce767068025 /test/docx/nested_sdt.docx | |
parent | 5ebd5105ad13d0c969a5894963e79e88033114c5 (diff) | |
download | pandoc-7389919bb491b78373ea2197800988b3a61cf0ce.tar.gz |
Preserve built-in styles in DOCX with custom style (#5670)
This commit prevents custom styles on divs and spans from overriding
styles on certain elements inside them, like headings, blockquotes,
and links. On those elements, the "native" style is required for the
element to display correctly. This change also allows nesting of
custom styles; in order to do so, it removes the default "Compact"
style applied to Plain blocks, except when inside a table.
Diffstat (limited to 'test/docx/nested_sdt.docx')
0 files changed, 0 insertions, 0 deletions