Module:Chabad Days: Difference between revisions

Strip footnotes from box lines
Strip multi-line footnotes
Line 53: Line 53:
content:match('\n==%s*Chabad Days%s*==%s*\n(.*)$')
content:match('\n==%s*Chabad Days%s*==%s*\n(.*)$')
if section then
if section then
section = section:gsub('<ref[^>]-/>', ''):gsub('<ref.-</ref>', '')
local prefix = ''
local prefix = ''
for line in (section .. '\n'):gmatch('(.-)\n') do
for line in (section .. '\n'):gmatch('(.-)\n') do