mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-27 12:44:22 +00:00
fix: missed limit as parse() parameter
This commit is contained in:
parent
023e7910b5
commit
404de0b9be
@ -22,7 +22,7 @@ local tpl_rep={
|
|||||||
local tpl_rep_rev = {}
|
local tpl_rep_rev = {}
|
||||||
|
|
||||||
|
|
||||||
local function parse(text)
|
local function parse(text,limit)
|
||||||
local text=str(text)
|
local text=str(text)
|
||||||
|
|
||||||
local limit = limit or htmlparser_looplimit or 1000
|
local limit = limit or htmlparser_looplimit or 1000
|
||||||
|
Loading…
Reference in New Issue
Block a user