From 6e1ec22fe4395a844aaaeb7667643151f7283aa6 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Sat, 12 Oct 2013 17:23:04 +0200 Subject: [PATCH] Add target=_blank on links again, it got lost in earlier merge --- js/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/plugins.js b/js/plugins.js index 5ab8f37..235a3d0 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -111,7 +111,7 @@ plugins.factory('userPlugins', function() { var urlPattern = /(http|ftp|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?/; var url = message.match(urlPattern); if (url) { - return '' + message + ''; + return '' + message + ''; } return null;