Jump to content

Module:Citation/CS1: Difference between revisions

escape values that look like Lua back patterns
m>Dragons flight
(fix script error caused by abandoned error check.)
m>Dragons flight
(escape values that look like Lua back patterns)
Line 56: Line 56:
     if args ~= nil then
     if args ~= nil then
         for k, m in ipairs( args ) do
         for k, m in ipairs( args ) do
            m = m:gsub( "%%", "%%%%" );
             message = message:gsub( "$" .. k .. "(%D)", m .. "%1" );
             message = message:gsub( "$" .. k .. "(%D)", m .. "%1" );
         end
         end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.