summaryrefslogtreecommitdiffstats
path: root/fetcher
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-09-27 20:52:20 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2013-09-27 20:52:20 +0200
commitb679b8c0315f96b1aeb3286efd5a36072aeb18cc (patch)
tree99a09362381941540ef053309a86122be8638be3 /fetcher
parent15c663658ecf19bdc6257e57825e943735aece0f (diff)
always open links in new tab
Diffstat (limited to 'fetcher')
-rw-r--r--fetcher/feedfetcher.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php
index fdc062d6c..705404518 100644
--- a/fetcher/feedfetcher.php
+++ b/fetcher/feedfetcher.php
@@ -138,10 +138,8 @@ class FeedFetcher implements IFeedFetcher {
// links should always open in a new window
$item->setBody(
- str_replace(
- '<a', '<a target="_blank"', $this->purifier->purify(
- $simplePieItem->get_content()
- )
+ $this->purifier->purify(
+ $simplePieItem->get_content()
)
);