[FolhaDeSaoPauloBridge]: Improve HTML
This commit is contained in:
parent
366d2d66b3
commit
066e42e99a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class FolhaDeSaoPauloBridge extends FeedExpander {
|
||||||
$item_content = $articleHTMLContent->find('div.c-news__body', 0);
|
$item_content = $articleHTMLContent->find('div.c-news__body', 0);
|
||||||
if ($item_content) {
|
if ($item_content) {
|
||||||
$text = $item_content->innertext;
|
$text = $item_content->innertext;
|
||||||
$text = strip_tags($text, '<p><b><a><blockquote><img><em>');
|
$text = strip_tags($text, '<p><b><a><blockquote><figure><figcaption><img><strong><em>');
|
||||||
$item['content'] = $text;
|
$item['content'] = $text;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue