Sync with latest HTML5lib
This commit is contained in:
parent
3a3cfeaa9b
commit
55fdc9fff4
18 changed files with 266 additions and 124 deletions
|
@ -68,6 +68,14 @@ class Base
|
|||
end
|
||||
|
||||
alias walk each
|
||||
|
||||
def to_ary
|
||||
a = []
|
||||
each do |i|
|
||||
a << i
|
||||
end
|
||||
a
|
||||
end
|
||||
end
|
||||
|
||||
class NonRecursiveTreeWalker < TreeWalkers::Base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue