[LesJoiesDuCode] decode html entities in title

This commit is contained in:
Brice Maron 2015-10-13 23:39:48 +02:00
parent 497d3fd7aa
commit 33dea43bcf

View file

@ -15,7 +15,7 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{
foreach($html->find('div.blog-post') as $element) { foreach($html->find('div.blog-post') as $element) {
$item = new Item(); $item = new Item();
$temp = $element->find('h1 a', 0); $temp = $element->find('h1 a', 0);
$titre = $temp->innertext; $titre = html_entity_decode($temp->innertext);
$url = $temp->href; $url = $temp->href;
$temp = $element->find('div.blog-post-content', 0); $temp = $element->find('div.blog-post-content', 0);