Open kand opened 9 years ago
Given some block in the editor such as this:
<div><script>var a = "";</script></div>
No check is done to ensure that this is a script block and, as such, the script node text is treated as any other text, transforming the quotes into javascript-invalid curly quotes.
Is there a way to prevent the plugin from parsing script elements?
Given some block in the editor such as this:
No check is done to ensure that this is a script block and, as such, the script node text is treated as any other text, transforming the quotes into javascript-invalid curly quotes.
Is there a way to prevent the plugin from parsing script elements?