Closed
Description
I've noticed when you use // with phtml the static generator is going to strip the comment, it doesn't happen the same when using # or /* */
Preconditions (*)
Tested with 2.4.2
Steps to reproduce (*)
- Write in a phtml template file, something like:
<span><?php // foo ?><?php // bar ?></span>
Expected result (*)
<span><?php ?><?php ?></span>
Actual result (*)
<span><?php</span>
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done