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

Implement :escape_mode => :slash #777

Merged
merged 1 commit into from Jun 20, 2022
Merged

Conversation

casperisfine
Copy link
Contributor

Similar to flori/json#405

It's a "cheap" way to make JSON safe to interpolate in a <script> tag.

Similar to flori/json#405
It's a cheap way to make JSON safe to interpolate in a `<script>`
tag.
@ohler55
Copy link
Owner

ohler55 commented Jun 20, 2022

Looks okay to me.

@ohler55 ohler55 merged commit f1e7748 into ohler55:develop Jun 20, 2022
@lucianosousa
Copy link

@ohler55 do you mind in create a new version with this change?
I would love to get it in my project without forcing the git SHA :)

Thanks!

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.

None yet

4 participants