lua-htmlparser
lua-htmlparser copied to clipboard
An HTML parser for lua.
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...
Im getting error "variable 'htmlparser_opts' is not declared" after local htmlparser = require ("htmlparser"). How can i fix it?
I have a recursive function that goes through all elements from top to bottom, and I want to handle booth "raw" text and tags. I seam to only be able...
This PR adds text content as children nodes to the parent node, e.g. `HelloWorld` will parse to a `p` node with 3 children: a text node containing `Hello`, the `br`...
I have a script (shortened to minimum reproducible case below) where the selection for `"table tr"` fails to find the first `` tag. The example below only contains one ``...