Content deleted Content added
we can probably simplify this since the only valid css to send to navbar is the color? Tag: Reverted |
return nil if it doesn't match the capture because mw.html is what receives it on the navbar side Tag: Reverted |
||
Line 83:
-- extract color from css
local function extractcolor(str)
return mw.ustring.match(';' .. str .. ';', '.*;%s*([Cc][Oo][Ll][Oo][Rr]%s*:%s*.-)%s*;') or
end
|