mirror of
https://github.com/Insality/druid
synced 2025-09-28 18:42:20 +02:00
Update annotations, fix rare errors
This commit is contained in:
@@ -149,7 +149,7 @@ function M.parse(text, default_settings, style)
|
||||
end
|
||||
|
||||
-- parse the tag, split into name and optional parameters
|
||||
local endtag, name, params, empty = tag:match("<(/?)(%a+)=?(%S-)(/?)>")
|
||||
local endtag, name, params, empty = tag:match("<(/?)([%a_]+)=?(%S-)(/?)>")
|
||||
|
||||
local is_endtag = endtag == "/"
|
||||
local is_empty = empty == "/"
|
||||
|
Reference in New Issue
Block a user