lua-htmlparser
lua-htmlparser copied to clipboard
Main loop reached on valid html file?
Good morning sirs. Using luajit and vanilla lua. Installed from luarocks. Parsing with gumbo is fine. But it's ded and not portable on some system. Tried with various html fixer first but with no success.
Can you look at it sirs. Thank you sirs.
you can try just increase the main loop limit size (default is 1000)
local root = htmlparser.parse(htmlstring, 10000)
you can try just increase the main loop limit size (default is 1000)
local root = htmlparser.parse(htmlstring, 10000)
No it's not about the loop limit. Even change to 1mil it's still fail to parse.