Module:Delink: Difference between revisions

23 bytes added ,  11 June 2020
no edit summary
No edit summary
No edit summary
Line 43: Line 43:
         -- where the pipe is before the first new line.
         -- where the pipe is before the first new line.
         s = s:gsub("\n", "")
         s = s:gsub("\n", "")
     else
     elseif s:match("%[%[") then
         s = s:match("^%[%[(.-)%]%]")
         s = s:match("^%[%[(.-)%]%]")
     end
     end