Skip to content

Fixed non-breaking spaces. - #84

Merged
dfop02 merged 1 commit into
dfop02:mainfrom
Lynuxen:bug/preserve-nbsp
Jul 29, 2026
Merged

Fixed non-breaking spaces.#84
dfop02 merged 1 commit into
dfop02:mainfrom
Lynuxen:bug/preserve-nbsp

Conversation

@Lynuxen

@Lynuxen Lynuxen commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Description

remove_whitespace() collapsed non-breaking spaces into ordinary spaces, so   had no effect in the output document. Text that was deliberately kept on one line could be broken by Word, e.g. an amount written 19 000,00 € would wrap as "19" / "000,00 €" in a justified paragraph.

Checklist Before Requesting a Review

  • [x ] I have performed a self-review of my code.
  • [x ] My code follows the project's coding style and guidelines.
  • [x ] I have run tests and verified that all existing and new tests pass.
  • [x ] I have added new tests to cover my changes.

@dfop02 dfop02 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll release a new version until the end of week, thanks for the support!

@dfop02
dfop02 merged commit d4c2995 into dfop02:main Jul 29, 2026
6 checks passed
@dfop02 dfop02 self-assigned this Jul 29, 2026
@dfop02 dfop02 added the bug Something isn't working label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants