class

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)
Source

Instance methods

process_element(orig_name : String, attributes : Hash(String, String), name, &)
Source
process_element(name : String, attributes : Hash(String, String), &)
Source
process_text(text : String)
Source
reset
Source

Nested types