From 5f777d4126fe79c2095a0716a2ba070e51173be0 Mon Sep 17 00:00:00 2001 From: Dag Date: Thu, 5 Oct 2023 15:36:35 +0200 Subject: [PATCH] fix(codeberg): add temp fix (#3730) they changed html for tag and commit --- bridges/CodebergBridge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridges/CodebergBridge.php b/bridges/CodebergBridge.php index 9515d514..2a450477 100644 --- a/bridges/CodebergBridge.php +++ b/bridges/CodebergBridge.php @@ -403,6 +403,9 @@ EOD; */ private function stripSvg($html) { + if ($html === null) { + return null; + } if ($html->find('svg', 0)) { $html->find('svg', 0)->outertext = ''; }