pub fn decode_style_to_string<S: AsRef<str>>(
text: S,
output: &mut String,
) -> &strExpand description
Write text from the <style> element to a mutable String reference and return the decoded string slice.
This appends to output and returns only the new string slice.
The following substring is unescaped:
<\/style>=></style><\!--=><!--
<\/style at the end of the text is also unescaped.
This only removes the listed escapes and does not parse CSS.
Existing escapes in the original text may also be removed, so encoding and decoding may not return the original text.