From 33dea43bcf694409f402cbacc4c08dbbe15c06c2 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Tue, 13 Oct 2015 23:39:48 +0200 Subject: [PATCH] [LesJoiesDuCode] decode html entities in title --- bridges/LesJoiesDuCodeBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/LesJoiesDuCodeBridge.php b/bridges/LesJoiesDuCodeBridge.php index d90680c9..d9cc0028 100644 --- a/bridges/LesJoiesDuCodeBridge.php +++ b/bridges/LesJoiesDuCodeBridge.php @@ -15,7 +15,7 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{ foreach($html->find('div.blog-post') as $element) { $item = new Item(); $temp = $element->find('h1 a', 0); - $titre = $temp->innertext; + $titre = html_entity_decode($temp->innertext); $url = $temp->href; $temp = $element->find('div.blog-post-content', 0);