Skip to content

Conversation

@jando-ashley
Copy link
Contributor

Issue: When url prop contains ampersand, escapeHTML encodes it to & and pass it to src of iFrame. It caused the URL to not work properly.

Fix: Replaced escapeHTML() with encodeURI()

@bertybot
Copy link
Owner

Change set

@jando-ashley
Copy link
Contributor Author

Added changeset!

@bertybot bertybot self-assigned this Mar 17, 2025
@bertybot bertybot merged commit 85ccc1c into bertybot:master Mar 17, 2025
1 check passed
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