Modulo:Tracce/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m correggo |
se è attivato il corsivo, individua due apici, altrimenti tre |
||
Riga 9:
if str:sub(1,1) == "'" then str = "<span></span>" .. str end
if str:sub(-1,-1) == "'" then str = str .. "<span></span>" end
if str:find("''") then categories[#categories+1] = unexpected_markup end▼
end
return str
Line 26 ⟶ 25:
local interprete = args["Interprete" .. i] or ""
if interprete ~= "" then table.insert(row_elements, interprete .. " – ") end
if corsivo then
titolo = "''" .. safeforitalics(titolo) .. "''" end
if titolo:find(corsivo and "''" or "'''") then
end
table.insert(row_elements, titolo)
local featuring = args["Featuring" .. i] or ""
|