Sanitize::Adapter::LibXML2
Inherits Sanitize::Adapter / Struct / Value / Object
Constructors
new(builder : XML::Builder)
SourceClass methods
build(fragment : Bool, &)
Sourceparse(html : String, fragment : Bool)
Sourceprocess(policy : Policy, html : String, fragment : Bool = false)
Sourceprocess(policy : Policy, node : XML::Node, fragment : Bool = false)
Sourceprocess(policy : Policy, node : XML::Node, builder : XML::Builder, fragment : Bool = false)
Sourcevisit(processor : Processor, node : XML::Node, fragment : Bool)
SourceInstance methods
end_tag(name : String, attributes : Hash(String, String)) : Nil
Sourcestart_tag(name : String, attributes : Hash(String, String)) : Nil
Sourcewrite_text(text : String) : Nil
Source