TomasVotruba/bladestan

Non terminated statements causes parsing error

Opened this issue · 0 comments

AJenbo commented

Sample

@php
echo ''
@endphp

Results:
Syntax error, unexpected T_ECHO

Workaround:

@php
echo '';
@endphp

Probably the tags are being stripped so instead of:

<?php
echo ''
?>

We end up with

echo ''