clean

Function clean 

Source
pub fn clean(content: &str) -> Result<String, Error>
Expand description

Clean provided HTML with a global BubbleBath instance, constructed using BubbleBath::default

§Important

The global instance does not limit memory usage by default. If you need to limit memory usage, build your own BubbleBath instance

§Errors

See BubbleBath::clean documentation