class Sanitize::Processor

Overview

A processor traverses the HTML/XML tree, applies transformations through the policy and passes the result to the adapter which then builds the result.

Defined in:

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(policy : Policy, adapter : Adapter) #

Instance Method Detail

def process_element(orig_name : String, attributes : Hash(String, String), name, &) #

def process_element(name : String, attributes : Hash(String, String), &) #

def process_text(text : String) #

def reset #