mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 15:19:55 +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)
|
private function stripSvg($html)
|
||||||
{
|
{
|
||||||
|
if ($html === null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if ($html->find('svg', 0)) {
|
if ($html->find('svg', 0)) {
|
||||||
$html->find('svg', 0)->outertext = '';
|
$html->find('svg', 0)->outertext = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue