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
then content of <script> will be escaped. But content remains unescaped if <script> is not surrounded with html:
<script>if(5>4){}</script>
If here we just set pre: true then content of <script> within html will not be escaped as expected. Is it a bug or a feature, and how can I force marked.js to not escape content of <script> within html?
The text was updated successfully, but these errors were encountered:
If for example we have this html in our markdown:
then content of
<script>
will be escaped. But content remains unescaped if<script>
is not surrounded with html:If here we just set
pre: true
then content of<script>
within html will not be escaped as expected. Is it a bug or a feature, and how can I force marked.js to not escape content of<script>
within html?The text was updated successfully, but these errors were encountered: