[Numerama] fix undecoded entity on title
This commit is contained in:
parent
c17fe0c898
commit
35ac1d76b2
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class NumeramaBridge extends BridgeAbstract{
|
||||||
foreach($html->find('item') as $element) {
|
foreach($html->find('item') as $element) {
|
||||||
if($limit < 5) {
|
if($limit < 5) {
|
||||||
$item = new \Item();
|
$item = new \Item();
|
||||||
$item->title = NumeramaStripCDATA($element->find('title', 0)->innertext);
|
$item->title = html_entity_decode(NumeramaStripCDATA($element->find('title', 0)->innertext));
|
||||||
$item->uri = NumeramaStripCDATA($element->find('guid', 0)->plaintext);
|
$item->uri = NumeramaStripCDATA($element->find('guid', 0)->plaintext);
|
||||||
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
|
$item->timestamp = strtotime($element->find('pubDate', 0)->plaintext);
|
||||||
$item->content = NumeramaExtractContent($item->uri);
|
$item->content = NumeramaExtractContent($item->uri);
|
||||||
|
|
Loading…
Reference in a new issue