Module:Color contrast: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
fix for encoded # in hex or decimal (screws up assumption that we can split on ;) |
|||
Line 167: | Line 167: | ||
end |
end |
||
local slist = mw.text.split(style or '', ';') |
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';') |
||
for k = 1,#slist do |
for k = 1,#slist do |
||
s = slist[k] |
s = slist[k] |