summaryrefslogtreecommitdiffstats
path: root/db/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/item.php')
-rw-r--r--db/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php
index af76002ff..24cc45de1 100644
--- a/db/item.php
+++ b/db/item.php
@@ -208,7 +208,7 @@ class Item extends Entity implements IAPI, \JsonSerializable {
public function setBody($body) {
// FIXME: this should not happen if the target="_blank" is already
// on the link
- parent::setBody(str_replace('<a', '<a target="_blank"', $body));
+ parent::setBody(str_replace('<a', '<a target="_blank" rel="noreferrer"', $body));
}
}