module REHTML
Constants
- VERSION
Public Class Methods
to_rexml(html)
click to toggle source
convert html(string) to REXML::Document
# File lib/rehtml.rb, line 7 def self.to_rexml(html) builder = REXMLBuilder.new builder.parse(Tokenizer.new(html)) builder.doc end