mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 01:25:28 +03:00
fix(codeberg): add temp fix (#3730)
they changed html for tag and commit
This commit is contained in:
parent
e376805249
commit
5f777d4126
1 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,9 @@ EOD;
|
|||
*/
|
||||
private function stripSvg($html)
|
||||
{
|
||||
if ($html === null) {
|
||||
return null;
|
||||
}
|
||||
if ($html->find('svg', 0)) {
|
||||
$html->find('svg', 0)->outertext = '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue