Skip to content

Commit 49d927c

Browse files
authored
Merge pull request #196 from Dreamer0x01/patch-2
Update BladeOne.php
2 parents 4452463 + 2271b3b commit 49d927c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BladeOne.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2887,7 +2887,7 @@ protected function compileComments($value): string
28872887
$pattern = "/" . $this->contentTags[0] . "--(.*?)--" . $this->contentTags[1] . "/s";
28882888
switch ($this->commentMode) {
28892889
case 0:
2890-
return \preg_replace($pattern, $this->phpTag . '/*$1*/ ? >', $value);
2890+
return \preg_replace($pattern, $this->phpTag . '/*$1*/ ?>', $value);
28912891
case 1:
28922892
return \preg_replace($pattern, '<!-- $1 -->', $value);
28932893
default:

0 commit comments

Comments
 (0)