diff --git a/xP/public/xP.js b/xP/public/xP.js index 91a7f75..95ee879 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -358,7 +358,7 @@ let Content = { while ((match = re.exec(text)) !== null) { if (end < match.index) a.push(m('span', attrs, text.substring(end, match.index))) - a.push(m('a', {href: match[0], ...attrs}, match[0])) + a.push(m('a[target=_blank]', {href: match[0], ...attrs}, match[0])) end = re.lastIndex } if (end < text.length)