…ode::SaveOptions::AS_XHTML Thanks to Aaron Patterson for the explanation
…ied. Supported formats are :xhtml (the default) and :html (which outputs HTML4).
…an encoding bug in Nokogiri 1.3.3
…ns in path segments
…owncased in recent versions of Hpricot. This was exploitable to prevent non-whitelisted protocols from being cleaned. See http://github.com/why/hpricot/issues#issue/2 Thanks to Ben Wanicur for reporting this.
…ents; slight tweaks and documentation.
Signed-off-by: Ryan Grove <firstname.lastname@example.org>
…ences in input; encode special chars in attribute values; encode apostrophes as ' rather than '