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, 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));
+ }
+
}