Modulo:FunzioniGeneriche: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
(Function name)
mNessun oggetto della modifica
Riga 285: Riga 285:
         end
         end
        
        
        --[=[
         -- Determine if property is Assignment
         -- Determine if property is Assignment
     if PropName == "Assegnazione" then
     if PropName == "Assegnazione" then
Riga 292: Riga 293:
     LIPattern = "<li>.-%[%[(.-)%]%].-</li>"
     LIPattern = "<li>.-%[%[(.-)%]%].-</li>"
     end
     end
    ]=]
   
    LIPattern = "<li>.-%[%[(.-)%]%].-</li>"
   
    -- Determine if property is Assignment, then remove italic
    if PropName == "Assegnazione" then
    ParaString = string.gsub(ParaString, "<i>", "")
    ParaString = string.gsub(ParaString, "</i>", "")
    end
     --Process UL or OL
     --Process UL or OL
     for Item in string.gmatch(ParaString, LIPattern) do
     for Item in string.gmatch(ParaString, LIPattern) do