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

unescape img hrefs #666

Merged
merged 3 commits into from
Jan 14, 2023
Merged

unescape img hrefs #666

merged 3 commits into from
Jan 14, 2023

Conversation

alixander
Copy link
Collaborator

@alixander alixander commented Jan 14, 2023

The strings are HTML escaped to be valid XML for SVGs. So when we read them in for URL parsing, we should unescape them.

Before

Screen Shot 2023-01-14 at 2 19 39 PM

After

Screen Shot 2023-01-14 at 2 19 50 PM

fixes #661

@alixander alixander requested a review from nhooyr January 14, 2023 22:23
@alixander alixander merged commit b7d1c9b into terrastruct:master Jan 14, 2023
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.

URL not escaped correctly for icon
2 participants