Modulo:Font to span: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Opss |
m Eh ma anche io se cambio i nomi... |
||
Riga 59:
if color~=nil and string.match(style, "color:") then color=nil end
if size~=nil and string.match(style, "font%-size:") then size=nil end
if
end
Riga 66:
if color~=nil then style=style .. "color:" .. color .. ";" end
if size~=nil then style=style .. "font-size:" .. size .. ";" end
if
span='<span style="' .. style .. '">'
text=string.gsub(str, "<%/?font[^>]*>", "")
|