Module:String2/sandbox: Difference between revisions

Content deleted Content added
look for list markup
check
Line 13:
p.sentence = function (frame )
local s = mw.text.trim( frame.args[1] or "" )
if string.find(s, "^.*<li>") then
return s .. " >> list"
end