pug-php / pug-symfony

Pug (Jade) template engine for Symfony

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

style attribute url value error

kodal opened this issue · comments

.slide(style="background-image: url(" + image + ");")
rendered like
<div class="slide" style="background-image:$view[route]->url(image.jpg);"></div>
I tried css_url, but error:
undefined variable: css_url

P.S. pug-symfony: 2.2.1

commented

Hi, I confirm this regression due to the last helpers feature added I think. I work on it.

commented

Hi, you can composer update to solve the problem.