mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-27 12:44:22 +00:00
rename of htmlparser
This commit is contained in:
parent
72040db2a6
commit
94a1d8259a
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)
|
||||
|
Loading…
Reference in New Issue
Block a user