మాడ్యూల్:URL: కూర్పుల మధ్య తేడాలు
Content deleted Content added
imported>Codename Lisa Reverted 1 edit by Codename Lisa (talk): I CANNOT believe this... We test and test and test and nobody notices? |
imported>Codename Lisa Alright, redeploying. I feel this Module is thoroughly tested this time. I even spot-checked it against Portable Document Format right now. |
||
పంక్తి 66:
end
-- Add <wbr> before _/.-# sequences
text = mw.ustring.gsub(text,"(/+)","<wbr/>%1") -- This entry MUST be the first. "<wbr/>" has a "/" in it, you know.
text = mw.ustring.gsub(text,"(%.+)","<wbr/>%1")
-- text = mw.ustring.gsub(text,"(%-+)","<wbr/>%1") -- DISABLED for now
text = mw.ustring.gsub(text,"(%#+)","<wbr/>%1")
text = mw.ustring.gsub(text,"(_+)","<wbr/>%1")
return mw.ustring.format('<span class="url">[%s %s]</span>', url, text)
end
|