This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
Encode closing Tag #165
Labels
Comments
|
|
It seems like indeed |
This is what could happen
|
escaping just |
That will cause a lot more escaping, of all html tags, unnecessarily. We should only escape the pair. |
Yep you are right, i updated the pull request. |
@duoertai could you please take a look at this issue? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently encoding in the index.js only includes
If a component is being rendered SSR and includes a property with a closing script tag,
the script tag in the SSrendered HTML will close the hypernova script.
which will throw an error in the JSON.parse method of the payload.
is there a reason closing tags are not encoded here ?
Following changes would suffice:
The text was updated successfully, but these errors were encountered: