0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-29 18:21:07 +00:00

fix(CssSelector): html entity decode bug, fix #4484 (#4547)

This commit is contained in:
Dag 2025-05-09 03:26:10 +02:00 committed by GitHub
parent 66f1d449a7
commit 83edf5a48b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -232,8 +232,10 @@ class CssSelectorBridge extends BridgeAbstract
continue;
}
}
$item['uri'] = $link->href;
$item['title'] = $link->plaintext;
$item['uri'] = html_entity_decode($link->href);
$item['title'] = html_entity_decode($link->plaintext);
if (isset($item['content'])) {
$item['content'] = convertLazyLoading($item['content']);
$item['content'] = defaultLinkTo($item['content'], $item['uri']);