Module:Sandbox/Bradv/Case: Difference between revisions

Content deleted Content added
.
.
 
Line 51:
local re = '\n==(.-)=='
for str in gmatch(fd, re) do
--if find(str, '^%s*Enforcement') then
--breakignore
--end
if find(str, '^=') then
s = trim(sub(str, 2))
table.insert(result, ':[[' .. page .. '#' .. s .. '|' .. s .. ']]')
else
if find(str, '^=') then
table.insert(result, "'''" .. str .. "'''")
s = trim(sub(str, 2))
table.insert(result, ':[[' .. page .. '#' .. s .. '|' .. s .. ']]')
else
table.insert(result, "'''" .. str .. "'''")
-- end
count = count + 1
end
count = count + 1
end