[][src]Function html_escape::decode_script

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

Decode text from the <script> element.

The following substring is unescaped:

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