From 404de0b9be6138960a64080184bf7c66cb310e84 Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Fri, 21 Jul 2017 23:58:09 +0700 Subject: [PATCH] fix: missed limit as parse() parameter --- src/htmlparser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmlparser.lua b/src/htmlparser.lua index 4ecd809..8d00716 100644 --- a/src/htmlparser.lua +++ b/src/htmlparser.lua @@ -22,7 +22,7 @@ local tpl_rep={ local tpl_rep_rev = {} -local function parse(text) +local function parse(text,limit) local text=str(text) local limit = limit or htmlparser_looplimit or 1000