mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 15:06:53 +00:00
[VkBridge] Convert special HTML entities to characters in pageName
This commit is contained in:
parent
159b00145d
commit
d583b0c974
@ -45,7 +45,7 @@ class VkBridge extends BridgeAbstract
|
|||||||
$text_html = iconv('windows-1251', 'utf-8', $text_html);
|
$text_html = iconv('windows-1251', 'utf-8', $text_html);
|
||||||
$html = str_get_html($text_html);
|
$html = str_get_html($text_html);
|
||||||
$pageName = $html->find('.page_name', 0)->plaintext;
|
$pageName = $html->find('.page_name', 0)->plaintext;
|
||||||
$this->pageName = $pageName;
|
$this->pageName = htmlspecialchars_decode($pageName);
|
||||||
|
|
||||||
foreach ($html->find('.post') as $post) {
|
foreach ($html->find('.post') as $post) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user