Sanitize::Processor
Inherits Reference / Object
A processor traverses the HTML/XML tree, applies transformations through the policy and passes the result to the adapter which then builds the result.
Constants
Log = ::Log.for(self)
Constructors
new(policy : Policy, adapter : Adapter)
SourceInstance methods
process_element(orig_name : String, attributes : Hash(String, String), name, &)
Sourceprocess_element(name : String, attributes : Hash(String, String), &)
Sourceprocess_text(text : String)
Sourcereset
Source