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
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 28cd6183-a0f5-42fb-9cb2-c8288211b317

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

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