We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4452463 + 2271b3b commit 49d927cCopy full SHA for 49d927c
lib/BladeOne.php
@@ -2887,7 +2887,7 @@ protected function compileComments($value): string
2887
$pattern = "/" . $this->contentTags[0] . "--(.*?)--" . $this->contentTags[1] . "/s";
2888
switch ($this->commentMode) {
2889
case 0:
2890
- return \preg_replace($pattern, $this->phpTag . '/*$1*/ ? >', $value);
+ return \preg_replace($pattern, $this->phpTag . '/*$1*/ ?>', $value);
2891
case 1:
2892
return \preg_replace($pattern, '<!-- $1 -->', $value);
2893
default:
0 commit comments