Moved the parser class to Oga::Parser.
Oga will use the same parser for XML and HTML so it doesn't make sense to separate the two into different namespaces (at least for now).
This commit is contained in:
1 parent
77b40d2e81
commit
8ce76be050
5 files changed
+258
-4
No files matched your search
@@ -28,7 +28,7 @@ module Oga
|
||||
# @return [Oga::AST::Node]
|
||||
#
|
||||
def parse_html(input)
|
||||
return Oga::Parser::HTML.new.parse(input)
|
||||
return Oga::Parser.new.parse(input)
|
||||
end
|
||||
end # ParsingHelpers
|
||||
end # Oga
|
||||
Reference in new issue
Block a user