aboutsummaryrefslogtreecommitdiff
path: root/test/docx/custom-style-preserve.native
AgeCommit message (Collapse)Author
2019-09-20Preserve built-in styles in DOCX with custom style (#5670)Ben Steinberg
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.