Content deleted Content added
Make hiding_templatestyles global |
Simplify |
||
Line 527:
-- for each arg: find all the templatestyles strip markers, insert them into a
-- table. then remove all templatestyles markers from the arg
▲ local strip_marker_pattern = '(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)'
▲ for k, arg in pairs(args) do
▲ for marker in gfind(arg, strip_marker_pattern) do
args[k] = gsub(arg, strip_marker_pattern, '')▼
end
end
▲ table.insert(hiding_templatestyles, v)
local listnums = {}
|