Function html_escape::decode_script_single_quoted_text_to_writer[][src]

pub fn decode_script_single_quoted_text_to_writer<S: AsRef<str>, W: Write>(
    text: S,
    output: &mut W
) -> Result<(), Error>

Write text from a single quoted text in the <script> element to a writer.

The following substring and character is unescaped:

  • <\/script> => </script>
  • \' => '