10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 50: | Line 50: | ||
local match_start, _, section_check = mw.ustring.find(content, "(===[^=]+===\n.+)", check_init) | local match_start, _, section_check = mw.ustring.find(content, "(===[^=]+===\n.+)", check_init) | ||
if mw.ustring.find(frame:preprocess(section_check), "^===[^=]+===%s+<strong class=\"headword\"") then | if mw.ustring.find(frame:preprocess(section_check), "^===[^=]+===%s+<strong class=\"headword\"") then | ||
index.m1 | index.m1 = mw.ustring.find(content, section_check, check_init, true) | ||
section.main = section_check | |||
break | break | ||
else | else |