Function html_escape::encode_style [−][src]
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>
` element.">
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>