summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/item.php b/db/item.php
index 70d3cbb07..8f516f9c6 100644
--- a/db/item.php
+++ b/db/item.php
@@ -177,6 +177,7 @@ class Item extends Entity implements IAPI {
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));
}