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={})
|
2007-12-17 10:17:43 +01:00
|
|
|
HTMLParser.parse_fragment(stream, options)
|
2007-08-30 19:19:10 +02:00
|
|
|
end
|
2007-07-05 00:36:59 +02:00
|
|
|
end
|