Function html_escape::encode_script_to_writer
source · pub fn encode_script_to_writer<S: AsRef<str>, W: Write>(
text: S,
output: &mut W
) -> Result<(), Error>
Expand description
Write text used in the <script>
element to a writer.
The following substring is escaped:
</script>
=><\/script>
<!--
=><\!--