Modulo:Font to span: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Ci siamo quasi
Opss
Riga 64:
--concatena tutto in span + style
if style==nil then style="" end
if color~=nil then style=style .. "color:" .. color .. ";" end
if size~=nil then style=style .. "font-size:" .. size .. ";" end
if font~=nil then style=style .. "font-face:" .. font .. ";" end
span='<span style="' .. style .. '">'
text=string.gsub(str, "<%/?font[^>]*>", "")