]> _ Git - cubist_util.git/commitdiff
wip #7958 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 22 Jan 2026 13:59:51 +0000 (14:59 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 22 Jan 2026 13:59:51 +0000 (14:59 +0100)
src/Markdown.php

index a672286165b45f69fa9d91c3c1c0b0d6cfaa1496..9211b376c7c41fa8e9b15f9cb47887af7309a83e 100644 (file)
@@ -12,6 +12,9 @@ class Markdown
 {
     public static function toHTML($md, $images = true)
     {
+        if (!$md) {
+            return "";
+        }
         $config = [
             'table' => [
                 'wrap' => [