Skip to content

fix: preserve quoted paragraphs in Word exports - #7337

Merged
timothycarambat merged 2 commits into
Mintplex-Labs:masterfrom
Israel-Kli:fix/7336-word-quote-paragraphs
Nov 24, 2026
Merged

timothycarambat merged 2 commits into
Mintplex-Labs:masterfrom
Israel-Kli:fix/7336-word-quote-paragraphs

Conversation

@Israel-Kli

Copy link
Copy Markdown
Contributor

Pull Request Type

  • ✨ feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #7336

Description

The Word exporter flattened each blockquote into one paragraph, joining the last word of one paragraph to the first word of the next. Emit a quoted Word paragraph for each direct paragraph and preserve inline text around it.

Visuals (if applicable)

N/A, no UI change.

Additional Information

Both regression cases inspect the text of each paragraph in the exported Word file. Both fail on master and pass with the fix. ESLint and Prettier passed on the changed paths; full lint, tests and the Docker build are left to CI.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat
timothycarambat merged commit b014470 into Mintplex-Labs:master Nov 24, 2026
@Israel-Kli
Israel-Kli deleted the fix/7336-word-quote-paragraphs branch November 25, 2026 05:33
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.

[BUG]: Word export joins paragraphs inside a blockquote

2 participants