mirror of
https://github.com/TangentFoxy/lua-htmlparser.git
synced 2025-07-28 02:52:19 +00:00
rename of htmlparser
This commit is contained in:
4
test.lua
4
test.lua
@@ -1,10 +1,10 @@
|
||||
local HtmlParser = require("HtmlParser")
|
||||
local htmlparser = require("htmlparser")
|
||||
|
||||
local io = require("io")
|
||||
local file = io.input("./test.html")
|
||||
local text = io.read("*a") file:close()
|
||||
|
||||
local root = HtmlParser.parse(text)
|
||||
local root = htmlparser.parse(text)
|
||||
|
||||
-- print the tree
|
||||
local function p(n)
|
||||
|
Reference in New Issue
Block a user