File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 28
28
* @method static void aliasInclude(string $path, string|null $alias = null)
29
29
* @method static void directive(string $name, callable $handler)
30
30
* @method static array getCustomDirectives()
31
+ * @method static \Illuminate\View\Compilers\BladeCompiler prepareStringsForCompilationUsing(callable $callback)
31
32
* @method static void precompiler(callable $precompiler)
32
33
* @method static void setEchoFormat(string $format)
33
34
* @method static void withDoubleEncoding()
Original file line number Diff line number Diff line change @@ -256,6 +256,8 @@ public function compileString($value)
256
256
{
257
257
[$ this ->footer , $ result ] = [[], '' ];
258
258
259
+ $ value = $ this ->storeUncompiledBlocks ($ value );
260
+
259
261
foreach ($ this ->prepareStringsForCompilationUsing as $ callback ) {
260
262
$ value = $ callback ($ value );
261
263
}
@@ -264,7 +266,7 @@ public function compileString($value)
264
266
// step which compiles the component Blade tags into @component directives
265
267
// that may be used by Blade. Then we should call any other precompilers.
266
268
$ value = $ this ->compileComponentTags (
267
- $ this ->compileComments ($ this -> storeUncompiledBlocks ( $ value) )
269
+ $ this ->compileComments ($ value )
268
270
);
269
271
270
272
foreach ($ this ->precompilers as $ precompiler ) {
You can’t perform that action at this time.
0 commit comments