Skip to content

Encode special characters for Android WebView#4410

Merged
freakboy3742 merged 4 commits into
beeware:mainfrom
iandolge:fix-2242
May 25, 2026
Merged

Encode special characters for Android WebView#4410
freakboy3742 merged 4 commits into
beeware:mainfrom
iandolge:fix-2242

Conversation

@iandolge
Copy link
Copy Markdown
Contributor

Added urllib.parse.quote(content) in the android WebView

Blank pages when special characters appear (like # in html content)

Fixes #2242

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Assisted-by: Claude Sonnet 4.6 to get the android emulator installed

Copy link
Copy Markdown
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

Looks good - one suggested improvement to the change note which I can apply manually.

Comment thread changes/2242.bugfix.md Outdated
Comment thread changes/2242.bugfix.md Outdated
@freakboy3742 freakboy3742 merged commit 3050e07 into beeware:main May 25, 2026
124 of 125 checks passed
audreydng pushed a commit to audreydng/toga that referenced this pull request May 27, 2026
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
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.

WebView on Android displays empty page when html contains style element

2 participants