]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/url.js
Fix channels in topics, and url's ending with ].
[irc/quakenet/qwebirc.git] / js / ui / url.js
index f4cf2a640cf4865222f7ccf3c791ff4890107112..e58cc34383a86da77e8722d9dab86467261eb9c7 100644 (file)
@@ -1,5 +1,5 @@
 qwebirc.ui.urlificate = function(element, text, execfn, cmdfn) {
-  var punct_re = /(\.*|\,|;)$/;
+  var punct_re = /(\.*|\,|;|\])$/;
 
   var txtprocess = function(text, regex, appendfn, matchfn) {
     for(;;) {