From 032fec539e5b2cac949ec51f98c272d95ec0c13b Mon Sep 17 00:00:00 2001 From: m0nclous Date: Wed, 30 Nov 2022 15:28:41 +0600 Subject: [PATCH] Hotfix PREG_JIT_STACKLIMIT_ERROR in code block fix #253 --- src/Traits/HasBladeParser.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Traits/HasBladeParser.php b/src/Traits/HasBladeParser.php index 8b7a3094..66a23f4a 100644 --- a/src/Traits/HasBladeParser.php +++ b/src/Traits/HasBladeParser.php @@ -63,6 +63,9 @@ public function compileBlade($rawContent) */ private function stripCodeBlocks($content) { + return $content; + + // TODO fix preg return preg_replace( config('larecipe.blade-parser.regex.code-blocks.match'), config('larecipe.blade-parser.regex.code-blocks.replacement'),