simon-dt / gulp-twig

Twig plugin for gulp.js, The streaming build system. Looking for maintainer or collaborators. See wiki
https://github.com/zimmen/gulp-twig/wiki/Looking-for-maintainer-or-collaborator(s)
MIT License
62 stars 33 forks source link

Unable to parse 'verbatim' #17

Closed LoicGoyet closed 8 years ago

LoicGoyet commented 9 years ago

Hello, I'm trying to use the verbatim tag in the simpliest way possible :

{% verbatim %}
    hello world
{% endverbatim %}

the terminal can not compile it and output this :

TwigException: Unable to parse 'verbatim'

But it seems that twig.js does support the tag. How could I use the feature ? Do I must switch it on ? Is it not supported ?

Thanks ;)

simon-dt commented 8 years ago

Hi @LoicGoyet . Twig.js doesnt have a release note so it took some digging but it looks like the verbatim tag came into their code trough some PR in version 0.8.3 ... gulp-twig is on 0.8.2 still :-)

I'll update the twig dependency, in the meantime you could use the old {%raw%} {%endraw%} tags

tremby commented 8 years ago

@zimmen, please do update the dependency -- there are some other nice new features since 0.8.2.

simon-dt commented 8 years ago

Updated. Sorry for the delay!