Module:Excerpt: Difference between revisions

Content deleted Content added
<HTML tag>{{template}} now counts as a template on a line of its own, fixes Indo-Pakistani wars and conflicts
m Restore line removed accidentally in previous edit
Line 423:
local isHatnote = not(leadstart) and mw.ustring.sub(token, 1, 1) == ':'
if not isHatnote then
leadstart = leadstart or mw.ustring.len(t) + 1 -- we got a paragraph, so mark the start of the lead section
paras = paras + 1
if allparas or (options.paraflags and options.paraflags[paras]) then t = t .. token end -- add if this paragraph wanted