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

Doesn't escape content #77

Closed
tazsingh opened this issue Apr 26, 2023 · 0 comments · Fixed by #78
Closed

Doesn't escape content #77

tazsingh opened this issue Apr 26, 2023 · 0 comments · Fixed by #78

Comments

@tazsingh
Copy link
Contributor

Should hoofd escape the content that's given to it?

If so, this could be considered a bug! If not, then maybe it should be documented that content escaping should be done by the user?

Regardless, for now I'm running lodash.escape to escape what's going into hoofd on our end!

To replicate:

useMeta({ property: 'description', content: '"' })
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 a pull request may close this issue.

1 participant