diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-01-19 18:24:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 18:24:32 -0800 |
commit | ff4dd2b1dd162d55de697b5a64cd73c8b2dd2ebc (patch) | |
tree | a87fe523df9cd6ad9170d3818d865363b83c453b /.stylish-haskell.yaml | |
parent | 5028278569bdc06ced5b8151393e2d12602f1b7e (diff) | |
download | pandoc-ff4dd2b1dd162d55de697b5a64cd73c8b2dd2ebc.tar.gz |
Docx writer: fix regression with Compact style on tight lists. (#6073)
Starting in 2.8, the docx writer no longer distinguishes
between tight and loose lists, since the Compact style is
omitted.
This is a side-effect of the fix to #5670, as explained
in the changelog:
+ Preserve built-in styles in DOCX with custom style (Ben Steinberg,
#5670). This change 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.
This patch fixes the problem by extending the exception currently
offered to Plain blocks inside tables to Plain blocks inside list
items.
Closes #6072.
Diffstat (limited to '.stylish-haskell.yaml')
0 files changed, 0 insertions, 0 deletions