]> _ Git - fluidbook_tools.git/commitdiff
wip #5991
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 Jun 2023 12:52:23 +0000 (14:52 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 Jun 2023 12:52:23 +0000 (14:52 +0200)
src/SVG/SVGTools.php

index 204928f30d2312372e64ea397c584de98a90f2b3..1aa7d843751e297cbf3c017601847495d4f4c244 100644 (file)
@@ -4,6 +4,7 @@ namespace Fluidbook\Tools\SVG;
 
 use Cubist\Util\CommandLine;
 use Cubist\Util\Files\Files;
+use Cubist\Util\PHP;
 use Fluidbook\Tools\FluidbookTools;
 
 class SVGTools {
@@ -107,6 +108,7 @@ class SVGTools {
     }
 
     public static function optimizeRaster($matches, $resolution) {
+        PHP::neverStop();
         preg_match_all('/([a-z\:\-]*)="([^"]*)"/', $matches[1], $m);
 
         foreach ($m[1] as $i => $key) {