Module:CharColorParse: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Qud Char returns in source code pro)
mNo edit summary
 
Line 2: Line 2:


function p.parse(frame)
function p.parse(frame)
local a = string.gsub(frame.args[1],"(&)(%w)(%^?%w?)", function(_,color,background)
local a = frame.args[1]:gsub('(amp;)', '')
a = string.gsub(a, "(&)(%w)(%^?%w?)", function(_,color,background)
         local luatable = {
         local luatable = {
             ['r'] = "#a64a2e",
             ['r'] = "#a64a2e",

Navigation menu