We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a2190 commit 7f7dcbeCopy full SHA for 7f7dcbe
test/test-html-sax-parser.lua
@@ -1,4 +1,5 @@
1
local luaunit = require("luaunit")
2
+local libxml2 = require("xmlua").libxml2
3
local xmlua = require("xmlua")
4
5
local ffi = require("ffi")
@@ -213,6 +214,12 @@ local function collect_errors(chunk)
213
214
end
215
216
function TestHTMLSAXParser.test_error()
217
+ -- This condition may be loose
218
+ if tonumber(libxml2.VERSION) >= 21207 then
219
+ -- This error doesn't happen with at least libxml2 2.12.7.
220
+ return
221
+ end
222
+
223
local expected = {
224
{
225
domain = ffi.C.XML_FROM_HTML,
0 commit comments