We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 790fd0d commit 55d79d4Copy full SHA for 55d79d4
background/util.js
@@ -270,7 +270,7 @@ export const sleep = (ms) => {
270
*/
271
const $a = document.createElement('a');
272
export const embedLinks = (str) => {
273
- return str.replace(/(href=")?(https?:\/\/[^"'()[\]{} ]+)/g, (m, p1, url) => {
+ return str.replace(/(href=")?(https?:\/\/[^"'()[\]{} \n]+)/g, (m, p1, url) => {
274
if (p1) return m;
275
$a.href = url;
276
$a.target = '_blank';
0 commit comments