8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 35: | Line 35: | ||
local b = normalize(frame.args[1],regextype) | local b = normalize(frame.args[1],regextype) | ||
local a = string.gsub(b, regex, function(_,color,text) | local a = string.gsub(b, regex, function(_,color,text) | ||
if text ~= nil | if text ~= nil and text ~= "" then | ||
local hexcolor = luatable.parse(color) | local hexcolor = luatable.parse(color) | ||
if hexcolor == nil then | if hexcolor == nil then |