Closed AlexanderGogolev closed 5 years ago
this code work in pug.js
this work in version 2.7.5
Hi, I will check if we should handle this. The <
mark RAW string output start.
But in any case, you should prefer:
body
if (test == true)
h1 Phug
else
//
div test
for comments;
and:
body
if (test == true)
h1 Phug
else
| <!---->
div test
for unescaped one-line string output. Both will work around the bug you get.
Thank )
Fixed, you can run composer update
to get the new lexer version.
Hello,
I encountered an issue with the following code:
I expected to get:
But I actually get:
Thanks!