fix(codeberg): add temp fix (#3730)

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 = '';
}