Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up HTML when setting window title. #118

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

jpd236
Copy link
Contributor

@jpd236 jpd236 commented Jul 14, 2020

Puzzle metadata, including titles, can include HTML, which isn't
supported by the window title bar. So we parse the title as HTML,
ignoring all style tags and just combining the text into a flat
string, before setting the title.

Resolves & showing up in the title rather than &.

See #117

Puzzle metadata, including titles, can include HTML, which isn't
supported by the window title bar. So we parse the title as HTML,
ignoring all style tags and just combining the text into a flat
string, before setting the title.

Resolves "&" showing up in the title rather than "&".

See mrichards42#117
@mrichards42
Copy link
Owner

Looks great, thanks!

@mrichards42 mrichards42 merged commit 811a307 into mrichards42:master Jul 16, 2020
@jpd236 jpd236 deleted the jpz-metadata branch July 16, 2020 03:46
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.

2 participants