mirror of
https://github.com/TangentFoxy/lua-htmlparser.git
synced 2025-07-28 11:02:18 +00:00
Made test succeed
This commit is contained in:
@@ -141,9 +141,10 @@ local function select(self, s)
|
|||||||
resultset = Set:new()
|
resultset = Set:new()
|
||||||
for subject in pairs(subjects) do
|
for subject in pairs(subjects) do
|
||||||
local star = subject.deepernodes
|
local star = subject.deepernodes
|
||||||
if childrenonly then star = Set:new(subject.nodes) childrenonly = false end
|
if childrenonly then star = Set:new(subject.nodes) end
|
||||||
resultset = resultset + star
|
resultset = resultset + star
|
||||||
end
|
end
|
||||||
|
childrenonly = false
|
||||||
if part == "*" then goto nextpart end
|
if part == "*" then goto nextpart end
|
||||||
local excludes, filter = Set:new()
|
local excludes, filter = Set:new()
|
||||||
for t, w in string.gmatch(part,
|
for t, w in string.gmatch(part,
|
||||||
|
Reference in New Issue
Block a user