Module:SourceFilter

local util_vars = require('Module:VarsUtil') local p = {}

function p.startFilterBlock(frame) local args = frame:getParent.args local outputText = "" for count = 1, #args do outputText = outputText .. "" end util_vars.setVar("SourceHideDiv", #args) return frame:preprocess(outputText) end

function p.endFilterBlock(frame) local outputText = "" local divs = util_vars.getVar("SourceHideDiv") for count = 1, divs do outputText = outputText .. " "	end return frame:preprocess(outputText) end

return p