Module:Color contrast: Difference between revisions

fix for encoded # in hex or decimal (screws up assumption that we can split on ;)
(Undid revision 757931345 by Frietjes (talk))
(fix for encoded # in hex or decimal (screws up assumption that we can split on ;))
Line 167:
end
 
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';')
for k = 1,#slist do
s = slist[k]
Anonymous user