From 6f4c5a1145505c8fcd09615af5f570d48f42735c Mon Sep 17 00:00:00 2001 From: "Vadim A. Misbakh-Soloviov" Date: Sat, 22 Jul 2017 22:15:45 +0700 Subject: [PATCH] one more pattern fix --- src/htmlparser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/htmlparser.lua b/src/htmlparser.lua index 6ec174b..c029eb5 100644 --- a/src/htmlparser.lua +++ b/src/htmlparser.lua @@ -50,9 +50,9 @@ local function parse(text,limit) function(...)return g(5,...)end ):gsub( [=[(['"])]=].. - [=[([^'>"]-)]=].. + [=[([^'">%s]-)]=].. "(>)".. - [=[([^'>"]-)]=].. + [=[([^'">%s]-)]=].. [=[(['"])]=], function(...)return g(3,...)end )