pub fn decode_script_single_quoted_text<S: ?Sized + AsRef<str>>(
    text: &S
) -> Cow<'_, str>
Expand description

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

The following substring and character is unescaped:

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