aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-01-19 18:24:32 -0800
committerGitHub <noreply@github.com>2020-01-19 18:24:32 -0800
commitff4dd2b1dd162d55de697b5a64cd73c8b2dd2ebc (patch)
treea87fe523df9cd6ad9170d3818d865363b83c453b /.github
parent5028278569bdc06ced5b8151393e2d12602f1b7e (diff)
downloadpandoc-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 '.github')
0 files changed, 0 insertions, 0 deletions