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

Encode text used in a double quoted text in the <style> element.

The following substring and character are escaped:

  • </style> => <\/style>
  • " => \"
  • <!-- => <\!--