Skip to content

Commit

Permalink
Merge pull request #196 from Dreamer0x01/patch-2
Browse files Browse the repository at this point in the history
Update BladeOne.php
  • Loading branch information
jorgecc authored Oct 10, 2024
2 parents 4452463 + 2271b3b commit 49d927c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BladeOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -2887,7 +2887,7 @@ protected function compileComments($value): string
$pattern = "/" . $this->contentTags[0] . "--(.*?)--" . $this->contentTags[1] . "/s";
switch ($this->commentMode) {
case 0:
return \preg_replace($pattern, $this->phpTag . '/*$1*/ ? >', $value);
return \preg_replace($pattern, $this->phpTag . '/*$1*/ ?>', $value);
case 1:
return \preg_replace($pattern, '<!-- $1 -->', $value);
default:
Expand Down

0 comments on commit 49d927c

Please sign in to comment.