mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-13 21:16:23 +02:00
fix(codeberg): add temp fix (#3730)
they changed html for tag and commit
This commit is contained in:
@ -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 = '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user