aboutsummaryrefslogtreecommitdiff
path: root/test/docx/golden/custom_style_preserve.docx
AgeCommit message (Collapse)AuthorFilesLines
2019-09-20Preserve built-in styles in DOCX with custom style (#5670)Ben Steinberg1-0/+0
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.