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