Skip to content

Commit 2964d2d

Browse files
committed
remove comments before compiling components
1 parent cb798cd commit 2964d2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/View/Compilers/BladeCompiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class BladeCompiler extends Compiler implements CompilerInterface
6565
* @var array
6666
*/
6767
protected $compilers = [
68-
'Comments',
68+
// 'Comments',
6969
'Extensions',
7070
'Statements',
7171
'Echos',
@@ -219,7 +219,7 @@ public function compileString($value)
219219
// step which compiles the component Blade tags into @component directives
220220
// that may be used by Blade. Then we should call any other precompilers.
221221
$value = $this->compileComponentTags(
222-
$this->storeUncompiledBlocks($value)
222+
$this->compileComments($this->storeUncompiledBlocks($value))
223223
);
224224

225225
foreach ($this->precompilers as $precompiler) {

0 commit comments

Comments
 (0)