1
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-04-05 16:26:30 +03:00

[InstituteForTheStudyOfWarBridge] Do not put HTML tags into title ()

This commit is contained in:
Korytov Pavel 2022-08-25 20:48:16 +03:00 committed by GitHub
parent c079dbb521
commit 1ca4dd69f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ class InstituteForTheStudyOfWarBridge extends BridgeAbstract
private function processEntry($entry) private function processEntry($entry)
{ {
$h2 = $entry->find('h2', 0); $h2 = $entry->find('h2', 0);
$title = $h2->innertext; $title = $h2->plaintext;
$uri = $h2->find('a', 0)->href; $uri = $h2->find('a', 0)->href;
$date_span = $entry->find('span.datespan', 0); $date_span = $entry->find('span.datespan', 0);