1
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-04-08 09:46:11 +03:00

fix(codeberg): add temp fix ()

they changed html for tag and commit
This commit is contained in:
Dag 2023-10-05 15:36:35 +02:00 committed by GitHub
parent e376805249
commit 5f777d4126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,6 +403,9 @@ EOD;
*/
private function stripSvg($html)
{
if ($html === null) {
return null;
}
if ($html->find('svg', 0)) {
$html->find('svg', 0)->outertext = '';
}