aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Translations.hs
diff options
context:
space:
mode:
authorBen Steinberg <bsteinberg@law.harvard.edu>2019-09-21 01:13:29 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-20 22:13:29 -0700
commit7389919bb491b78373ea2197800988b3a61cf0ce (patch)
tree1f8dbcae39a7d60b9c4e1f7761d1cce767068025 /src/Text/Pandoc/Translations.hs
parent5ebd5105ad13d0c969a5894963e79e88033114c5 (diff)
downloadpandoc-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 'src/Text/Pandoc/Translations.hs')
0 files changed, 0 insertions, 0 deletions