Global Functionscinfu.swiftsoup 2.8.7SwiftSoup
clean(_:_:)
Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of permitted tags and attributes.
func clean(_ bodyHtml: String, _ whitelist: Whitelist) throws -> String?
<param>
<param>
<return>
<see>