67 741
contributi
(First version of ParameterToSemantic to process UL) |
(Check for LI) |
||
Riga 248: | Riga 248: | ||
end | end | ||
for Item in string.gmatch(TestString, "<li>(.-)</li>") do | if string.find(ParaString, "<li>") ~= nil then | ||
--Process UL or OL | |||
for Item in string.gmatch(TestString, "<li>(.-)</li>") do | |||
table.insert(FinalArray, Item) | |||
end | |||
return mw.text.nowiki(table.concat(FinalArray, Separator) .. SepDeclaration) | |||
else | |||
return ParaString | |||
end | end | ||
end | end | ||
function p.ParameterToSemanticTest(frame) | function p.ParameterToSemanticTest(frame) |