Modulo:Lingue: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
fix |
fix corsivo per codice lingua errato |
||
Riga 167:
end
end
local italic = false▼
local set_italic = args.corsivo or "n"
if set_italic
local italic =
if lg.codici[language_code] and not lg.codici[language_code][3] then▼
italic = true
italic = not lg.codici[language_code][3]
else
end ▼
if italic then▼
if txt[1]=="'" then txt = "<nowiki />" .. txt end▼
if txt[#txt] =="'" then txt = txt .. "<nowiwiki />" end▼
txt = mw.ustring.format("''%s''", txt)▼
end
▲ end
▲ if italic then
▲ if txt[1]=="'" then txt = "<nowiki />" .. txt end
▲ if txt[#txt] =="'" then txt = txt .. "<nowiwiki />" end
▲ txt = mw.ustring.format("''%s''", txt)
end
local span = mw.html.create('span')
|