Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix JSON object key displaying #26

Merged
merged 2 commits into from
May 3, 2022

Conversation

Vasco-jofra
Copy link
Contributor

This PR fixes a bug in how the code displays JSON object keys and adds unit tests.

The test ensures that a "<script>" tag in a json **object value** is
properly escaped by checking that the script is NOT present in the DOM.
@abodelot abodelot merged commit fe89081 into abodelot:master May 3, 2022
@abodelot
Copy link
Owner

abodelot commented May 3, 2022

thank you! I'll publish a new release on NPM later

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants