diff options
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php index 5c353b058..8a8b19e59 100644 --- a/db/item.php +++ b/db/item.php @@ -209,7 +209,8 @@ 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 + // FIXME: this should not happen if the target="_blank" is already + // on the link parent::setBody(str_replace('<a', '<a target="_blank"', $body)); } |