From: Vincent Vanwaelscappel Date: Mon, 5 Jun 2023 12:52:23 +0000 (+0200) Subject: wip #5991 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=dbf3b0da44b02c6766aaa290a96f207ab4cca0fa;p=fluidbook_tools.git wip #5991 --- diff --git a/src/SVG/SVGTools.php b/src/SVG/SVGTools.php index 204928f..1aa7d84 100644 --- a/src/SVG/SVGTools.php +++ b/src/SVG/SVGTools.php @@ -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) {