Module:Escape

local p = {}

p.main1 = function (str) local stripped = mw.ustring.gsub(tostring(str), "'", "\\'") return stripped end

p._main = function (args) return p.main1(args[1]) end

p.main = function (frame) return p.main1(frame.args[1]) end

return p