Closed rodion-k closed 6 years ago
It works fine on https://pug-demo.herokuapp.com/ with both js and php styles.
What version of PHP do you use?
PHP 7.1.17
For me it works with these versions:
phug/ast 0.1.0
phug/compiler 0.5.19
phug/dependency-injection 1.3.2
phug/event 0.1.1
phug/formatter 0.5.41
phug/lexer 0.5.21
phug/parser 0.5.8
phug/reader 0.2.1
phug/renderer dev-master 91b84e0 Pug (ex-Jade) renderer for PHP, HTML template engine structured by ...
phug/util 0.4.15
And gives error with these versions:
phug/ast 0.1.0
phug/compiler 0.5.19
phug/dependency-injection 1.3.2
phug/event 0.1.2 Phug events manager (compatible with PSR-14)
phug/formatter 0.5.42 Pug (ex-Jade) formatter for PHP, HTML template engine structured by...
phug/lexer 0.5.27 Pug (ex-Jade) lexer for PHP, HTML template engine structured by ind...
phug/parser 0.5.8
phug/phug dev-master 33f446b Pug (ex-Jade) facade engine for PHP, HTML template engine structure...
phug/reader 0.2.1
phug/renderer 0.4.5 Pug (ex-Jade) renderer for PHP, HTML template engine structured by ...
phug/util 0.4.15
Thanks, the exact break happens between phug/lexer 0.5.22 and 0.5.23. I will see the changes.
Hi, lexer 0.5.28 should fix it. Can you retry with all dependencies as last stable?
It works, thanks!
Hello,
I encountered an issue with the following code:
I expected to get:
But I actually get:
Error occurred after the update phug/renderer from dev-master 91b84e0 to 0.4.5. Thanks!