summaryrefslogtreecommitdiffstats
path: root/db/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/item.php')
-rw-r--r--db/item.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php
index 23c68f2cd..3d12692bc 100644
--- a/db/item.php
+++ b/db/item.php
@@ -219,7 +219,9 @@ 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" rel="noreferrer"', $body));
+ parent::setBody(str_replace(
+ '<a', '<a target="_blank" rel="noreferrer"', $body
+ ));
}
}