Модуль:GetField: различия между версиями

мНет описания правки
мНет описания правки
Строка 292: Строка 292:
     end
     end
     tplStr = tplStr .. "}}"
     tplStr = tplStr .. "}}"
    if type(frame.preprocess) == "function" then
        return frame:preprocess(tplStr)
    end


     return tplStr
     return tplStr
Строка 321: Строка 325:
     end
     end


     return table.concat(out, "\n")
     local result = table.concat(out, "\n")
    if type(frame.preprocess) == "function" then
        return frame:preprocess(result)
    end
 
    return result
end
end


return p
return p