Module

HTML

There's no documentation for this item.

Modules
Version
Classes
CDATA A CDATA node is simply a text node with a specialized way of displaying itself.
Conditions
Document A top-level HTMl document. You give it a body of text, and it will parse that text into a tree of nodes.
FullSanitizer
LinkSanitizer
Node The base class of all nodes, textual and otherwise, in an HTML document.
Sanitizer
Selector Selects HTML elements using CSS 2 selectors.
Tag A Tag is any node that represents markup. It may be an opening tag, a closing tag, or a self-closing tag. It has a name, and may have a hash of attributes.
Text A node that represents text, rather than markup.
Tokenizer A simple HTML tokenizer. It simply breaks a stream of text into tokens, where each token is a string. Each string represents either "text", or an HTML element.
WhiteListSanitizer
Public Methods
selector See HTML::Selector.new
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.