Fixed XPath compiler support for not()

This commit is contained in:
Yorick Peterse committed 2015-08-19 20:14:24 +02:00
1 parent 7cbc53c64e
commit a30cdba8d0
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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