-
Notifications
You must be signed in to change notification settings - Fork 64
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
Breaks when > is in a script or style tag #21
Comments
I do not understand very well what is this for. |
@EdixonAlberto When having an inline script, it breaks in some cases when |
There is the same issue in inline style tag.
|
Is there any solution for this? It happens even if |
I just found your script and wanted to use it in production.
becomes:
|
Related to this (?): Removes 'unneeded' self slash in function removeSelfSlash. This will kill some svg. <rect width="14vw" height="15vw" style="fill:rgb(0,0,0);stroke-width:3;stroke:rgb(0,0,0)" /> becomes <rect width="14vw" height="15vw" style="fill:rgb(0,0,0);stroke-width:3;stroke:rgb(0,0,0)"> .. and stops the rest of the svg from being renderd. |
Fix contnet of element body being truncated after first occurrence of a greater than sign (>), which can cause issues in some circumstances, such as a conditional evaluation inside a script tag. Relates to issue jenstornell#21
Below will break.
The text was updated successfully, but these errors were encountered: