Fixed XPath compiler support for not()
This commit is contained in:
1 parent
7cbc53c64e
commit
a30cdba8d0
2 files changed
+3
-2
No files matched your search
@@ -927,7 +927,7 @@ module Oga
|
||||
call_arg.assign(arg_ast).followed_by do
|
||||
converted = conversion.to_boolean(call_arg).not
|
||||
|
||||
block_given? ? converted.if_false { yield } : converted
|
||||
block_given? ? converted.if_true { yield } : converted
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user