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

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)
{
$h2 = $entry->find('h2', 0);
$title = $h2->innertext;
$title = $h2->plaintext;
$uri = $h2->find('a', 0)->href;
$date_span = $entry->find('span.datespan', 0);