Modulo:Font to span: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m errore
m che casino...
Riga 164:
if x[4]~=nil then
c1=string.match(x[4], 'color:([^;"]+)')
f1s1=string.match(x[4], 'font%-size:([^;"]+)')
s1f1=string.match(x[4], 'font%-family:([^;"]+)')
end
--estrazione parametri dal secondo style
if y[4]~=nil then
c2=string.match(y[4], 'color:([^;"]+)')
f2s2=string.match(y[4], 'font%-size:([^;"]+)')
s2f2=string.match(y[4], 'font%-family:([^;"]+)')
end
--rimozione dei duplicati da style1
Riga 191:
--Ottiene uno style singolo con tutti e soli i parametri da mantenere
sty=build(fc,s,cf)
--Seconda uscita di sicurezza