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

Fix handling of hexadecimal escapes in escape_once #1788

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cr7pt0gr4ph7
Copy link

This also aligns the behavior once again with current behavior of ActionView::Helpers::TagHelper#escape_once / ERB::Util::html_escape_once (which escape_once was originally based on).

Fixes #792 (That bug was closed because of an available fix, but the fix was never merged).

This also aligns the behavior once again with current behavior of
ActionView::Helpers::TagHelper#escape_once / ERB::Util::html_escape_once,
which escape_once was originally based on.

Fixes Shopify#792
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.

escape_once doesn't ignore hexadecimal entities
1 participant