Function html_escape::decode_style_single_quoted_text[][src]

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

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

The following substring and character is unescaped:

  • <\/style> => </style>
  • \' => '