struct Sanitize::Adapter::LibXML2
- Sanitize::Adapter::LibXML2
- Struct
- Value
- Object
Included Modules
Defined in:
Constructors
Class Method Summary
- .build(fragment : Bool, &)
- .parse(html : String, fragment : Bool)
- .process(policy : Policy, html : String, fragment : Bool = false)
- .process(policy : Policy, node : XML::Node, fragment : Bool = false)
- .process(policy : Policy, node : XML::Node, builder : XML::Builder, fragment : Bool = false)
- .visit(processor : Processor, node : XML::Node, fragment : Bool)
Instance Method Summary
- #end_tag(name : String, attributes : Hash(String, String)) : Nil
- #start_tag(name : String, attributes : Hash(String, String)) : Nil
- #write_text(text : String) : Nil
Instance methods inherited from module Sanitize::Adapter
end_tag(name : String, attributes : Hash(String, String)) : Nil
end_tag,
start_tag(name : String, attributes : Hash(String, String)) : Nil
start_tag,
write_text(text : String) : Nil
write_text
Constructor Detail
Class Method Detail
def self.process(policy : Policy, node : XML::Node, builder : XML::Builder, fragment : Bool = false)
#