Skip to main content

clean_html_full

Function clean_html_full 

Source
pub fn clean_html_full(html: &str) -> String
Expand description

Full/aggressive HTML cleaning.

In addition to other cleaning levels, also removes:

  • <nav> tags
  • <footer> tags
  • Most attributes except id, class, and data-*