Skip to main content

scrub

Function scrub 

Source
pub fn scrub(text: &str, style: &Style) -> String
Expand description

Remove banned style artifacts. Idempotent: scrubbing scrubbed text is a no-op, which matters because text passes through here more than once.