6b21ac484f
Replaced native Sanitizer with HTML5lib version. Synced with latest Maruku.
12 lines
250 B
Ruby
12 lines
250 B
Ruby
require 'html5lib/html5parser'
|
|
|
|
module HTML5lib
|
|
def self.parse(stream, options={})
|
|
HTMLParser.parse(stream, options)
|
|
end
|
|
|
|
def self.parseFragment(stream, options={})
|
|
HTMLParser.parse(stream, options)
|
|
end
|
|
end
|