summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-08 20:42:37 +0100
committerGitHub <noreply@github.com>2018-01-08 20:42:37 +0100
commit0fb1c986deac94c2d2fdaabad37352409adb0bba (patch)
tree4490a5f420e8bb1e73ec7f1b972861ea0985e7e3
parent7d87e8305d34a8851f005ad16e36660537e07984 (diff)
parent770c744e45156e7e8cca3786e1e6513b335fba60 (diff)
downloadnextcloud-server-0fb1c986deac94c2d2fdaabad37352409adb0bba.tar.gz
nextcloud-server-0fb1c986deac94c2d2fdaabad37352409adb0bba.zip
Merge pull request #7739 from nextcloud/_blank
opens comments links in _blank 🙊
-rw-r--r--core/js/public/comments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/public/comments.js b/core/js/public/comments.js
index 6de7ff7d38a..955e88c8609 100644
--- a/core/js/public/comments.js
+++ b/core/js/public/comments.js
@@ -43,7 +43,7 @@
}
var linkText = url.replace(self.protocolRegex, '');
- return '<a class="external" href="' + url + '">' + linkText + '</a>';
+ return '<a class="external" target="_blank" href="' + url + '">' + linkText + '</a>';
});
},