Fix wxHTML line breaks around NBSP-only segments (PR #26678)

11 views
Skip to first unread message

Richard Thomson

unread,
Jul 8, 2026, 5:20:02 PM (yesterday) Jul 8
to wx-...@googlegroups.com, Subscribed

Preserve non-breaking spaces in wxHtmlWinParser instead of converting them to normal spaces, and prevent wxHtmlWordCell from allowing a line break before NBSP-only text segments.

Add a parser regression test covering an  -only segment between words.

Fixes #20399.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26678

Commit Summary

  • c1acfb7 Fix wxHTML line breaks around NBSP-only segments

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26678@github.com>

Richard Thomson

unread,
11:40 AM (9 hours ago) 11:40 AM
to wx-...@googlegroups.com, Push

@LegalizeAdulthood pushed 1 commit.

  • b59b94b Fix wxHTML line breaks around NBSP-only segments


View it on GitHub or unsubscribe.


Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26678/before/c1acfb7dc713cbcdb1efd15a9e2449488bfc0450/after/b59b94b64da6170061cd1a37c3bc6b8af0664358@github.com>

Richard Thomson

unread,
11:45 AM (9 hours ago) 11:45 AM
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#26678)

unused decl dropped


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26678/c4926953860@github.com>

Richard Thomson

unread,
11:51 AM (9 hours ago) 11:51 AM
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#26678)

fedora failure appears unrelated infrastructure problem (couldn't check out code)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26678/c4927005528@github.com>

Reply all
Reply to author
Forward
0 new messages