From a7ed30e2cc519ba386373a4ebdff738819de66b0 Mon Sep 17 00:00:00 2001 From: pitchoule Date: Wed, 23 Jul 2014 10:59:12 +0200 Subject: [PATCH] Update ScoopItBridge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le "title" était en innertext et non en plaintext. --- bridges/ScoopItBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/ScoopItBridge.php b/bridges/ScoopItBridge.php index 7075051..7e85f5b 100644 --- a/bridges/ScoopItBridge.php +++ b/bridges/ScoopItBridge.php @@ -23,7 +23,7 @@ class ScoopItBridge extends BridgeAbstract{ foreach($html->find('div.post-view') as $element) { $item = new Item(); $item->uri = $element->find('a', 0)->href; - $item->title = $element->find('div.tCustomization_post_title',0)->innertext; + $item->title = $element->find('div.tCustomization_post_title',0)->plaintext; $item->content = $element->find('div.tCustomization_post_description', 0)->plaintext; $this->items[] = $item; }