2007-07-05 00:36:59 +02:00
|
|
|
require 'html5/html5parser'
|
2007-08-30 19:19:10 +02:00
|
|
|
require 'html5/version'
|
2007-07-05 00:36:59 +02:00
|
|
|
|
|
|
|
module HTML5
|
|
|
|
|
2007-08-30 19:19:10 +02:00
|
|
|
def self.parse(stream, options={})
|
|
|
|
HTMLParser.parse(stream, options)
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.parse_fragment(stream, options={})
|
|
|
|
HTMLParser.parse(stream, options)
|
|
|
|
end
|
2007-07-05 00:36:59 +02:00
|
|
|
end
|