[][src]Function html_escape::encode_style

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

Encode text used in the <style> element.

The following substring is escaped:

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