fix: missed limit as parse() parameter

This commit is contained in:
Vadim A. Misbakh-Soloviov 2017-07-21 23:58:09 +07:00
parent 023e7910b5
commit 404de0b9be
No known key found for this signature in database
GPG Key ID: 26503D349B3B334B

View File

@ -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