Merge pull request #7739 from nextcloud/_blank
opens comments links in _blank 🙊
This commit is contained in:
commit
0fb1c986de
|
@ -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>';
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue