Module:Delink: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(add (opt-in) code for removing strip markers)
(whitespace test)
Line 152:
text = delinkLinkClass(text, "^%[.-%]", delinkURL) -- De-link URLs.
end
-- if not (args.whitespace == "no") then
-- text = mw.ustring.gsub(text, "%s+", " ") -- Remove extra whitespace.
-- end
return text
end