]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5851
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Apr 2023 17:44:49 +0000 (19:44 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Apr 2023 17:44:49 +0000 (19:44 +0200)
app/Models/FluidbookTheme.php

index 68c74e92e0e76b4af3f7e15a043302feab2353ee..80c97cc8dda79cbaee6c73f57edd6dfb0c891676 100644 (file)
@@ -834,7 +834,7 @@ class FluidbookTheme extends ToolboxSettingsModel
             $type = 'jpeg';
             $b = base64_encode(file_get_contents($f));
         }
-        return '<img src="' . backpack_url('fluidbookthemepreview/' . $this->getIdValue() . '.jpg') . '" width="200" height="140" alt="" />';
+        return clean('<img src="' . backpack_url('fluidbookthemepreview/' . $this->getIdValue() . '.jpg') . '" width="200" height="140" alt="" />');
     }
 
     public function getNameAndIdAttribute()