Merge pull request #7739 from nextcloud/_blank

opens comments links in _blank 🙊
This commit is contained in:
Roeland Jago Douma 2018-01-08 20:42:37 +01:00 committed by GitHub
commit 0fb1c986de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
} }
var linkText = url.replace(self.protocolRegex, ''); var linkText = url.replace(self.protocolRegex, '');
return '<a class="external" href="' + url + '">' + linkText + '</a>'; return '<a class="external" target="_blank" href="' + url + '">' + linkText + '</a>';
}); });
}, },