You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Same as google/react-schemaorg#9
JSON-LD stringification doesn't properly escape
</script>
, etc.To Reproduce
(which is valid)
Expected behavior
Characters are escaped according to spec.
Additional context
The spec: https://www.w3.org/TR/json-ld11/#restrictions-for-contents-of-json-ld-script-elements
See the parent issue in w3c/json-ld-syntax#100 where this was created.
Example fix: google/react-schemaorg@22e7dec
The text was updated successfully, but these errors were encountered: