Skip to content

Non-breaking space is added at incorrect places #28

Description

@oczki

Regex in JS doesn't count non-ASCII characters when checking word boundary (\b), causing some false positives when checking for conjunctions.

For example, when a word ends with ów, regex sees a word boundary before w, so the app adds a   after it, like it was a w conjunction.

This emerged with the Time container, entry
XXI wiek według futurologów z 1960
being changed to
XXI wiek według futurologów z 1960

The correct one would be
XXI wiek według futurologów z 1960

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions