Skip to content

fix: paragraphStyles should not include w:pStyle#3429

Draft
Alexnortung wants to merge 1 commit into
dolanmiu:masterfrom
Oak-Digital:fix/paragraph-style-style
Draft

fix: paragraphStyles should not include w:pStyle#3429
Alexnortung wants to merge 1 commit into
dolanmiu:masterfrom
Oak-Digital:fix/paragraph-style-style

Conversation

@Alexnortung
Copy link
Copy Markdown
Contributor

Currently when paragraphStyles has a style with a numbering, a w:pStyle tag with ListParagraph style is inserted into the paragraph style. This causes weird behavior in microsoft word, where choosing one of the custom styles with numbering always make it fall back to ListParagraph.

I am not sure how to fix this in a good way, so I have just added some tests that someone else (or myself if I get the time) can use as a starting point.

@Alexnortung Alexnortung changed the title test: paragraphStyles should not set w:pStyle as it is already a style fix: paragraphStyles should not include w:pStyle May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant