Module:Citation/CS1: Difference between revisions

    m>Dragons flight
    (add escaping of url arguments)
    m>Dragons flight
    (oops)
    Line 78: Line 78:


    function safeforurl( str )
    function safeforurl( str )
         return str:replace('[','['):replace(']',']')
         return str:gsub('[','['):gsub(']',']')
    end
    end