Function html_escape::encode_script
source · Expand description
Encode text used in the <script>
element.
The following substring is escaped:
</script>
=><\/script>
<!--
=><\!--
Encode text used in the <script>
element.
The following substring is escaped:
</script>
=> <\/script>
<!--
=> <\!--