Function rewrite_str
pub fn rewrite_str(
html: &str,
handlers: ElementContentHandlers<'_>,
) -> Result<String, Box<dyn Error + Send + Sync>>Available on crate features
html and http only.Expand description
One-shot rewrite of a complete HTML string.
§Errors
Surfaces a handler error, a parsing-ambiguity error, or invalid UTF-8 in the rewritten output.