Closed char101 closed 5 years ago
Hello,
I encountered an issue with the following code:
a.nav-link(href='', class=$ssid == $current_ssid ? 'active' : null)= $ssid
I expected to get:
<li class="nav-item"><a class="nav-link active" href="">SSID</a></li>
But I actually get:
<li class="nav-item"><a class="nav-link SSID" href="" $current_ssid ? 'active' : null>SSID</a></li>
Thanks!
It works if there is no spaces around == though:
==
a.nav-link(href='', class=$ssid==$current_ssid ? 'active' : null)= $ssid
Run composer update to get phug/lexer 0.5.31 that fixes this bug.
composer update
phug/lexer
Hello,
I encountered an issue with the following code:
I expected to get:
But I actually get:
Thanks!
It works if there is no spaces around
==
though: