[][src]Function html_escape::decode_script_quoted_text

pub fn decode_script_quoted_text<S: ?Sized + AsRef<str>>(text: &S) -> Cow<str>

Decode text from a quoted text in the <script> element.

The following substring and characters are unescaped:

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