mirror of
https://github.com/TangentFoxy/lua-htmlparser.git
synced 2025-07-27 18:42:19 +00:00
sample.lua did not iterate over the output of :select() correctly. It had been written assuming the keys were attributes, when in fact the keys are numbers, and the values are attributes. This caused an error when running the sample script.
<!DOCTYPE html> <html> <head> <title>Htmlparser LuaRock Readme</title> <meta charset="UTF-8"> <meta http-equiv="Refresh" content="3; url=http://msva.github.io/lua-htmlparser/" /> </head> <body> <p>You are being redirected to the homepage of the <a href="http://msva.github.io/lua-htmlparser/">Htmlparser LuaRock</a>. </p> <p>If you are not redirected after a few seconds, please click on the link above!</p> </body> </html>