mirror of
https://github.com/msva/lua-htmlparser.git
synced 2024-11-27 12:44:22 +00:00
typo
This commit is contained in:
parent
82a3f8a873
commit
ee2dbcc557
@ -24,7 +24,7 @@ local function parse(text)
|
||||
start, apos, k, eq, quote = string.find(tagst,
|
||||
"%s+" .. -- some uncaptured space
|
||||
"([^%s=]+)" .. -- k = an unspaced string up to an optional "="
|
||||
"(=?)" .. -- eq = the optiona; "=", else ""
|
||||
"(=?)" .. -- eq = the optional; "=", else ""
|
||||
"(['\"]?)", -- quote = an optional "'" or '"' following the "=", or ""
|
||||
apos)
|
||||
if not k or k == "/>" then break end
|
||||
|
Loading…
Reference in New Issue
Block a user