diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/item.php b/db/item.php index 5c0472eaf..70d3cbb07 100644 --- a/db/item.php +++ b/db/item.php @@ -176,5 +176,9 @@ class Item extends Entity implements IAPI { } + public function setBody($body) { + parent::setBody(str_replace('<a', '<a target="_blank"', $body)); + } + } |