You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% setid='bar' %}
<twig:fooid="prefix-{{ id }}" />
Twig\Error\SyntaxError:
Expected attribute name when parsing the "<twig:foo" syntax.
{% setid='bar' %}
<twig:fooid="{{ id }}-suffix" />
{# No exception, but only the id var is passed to the template: #}
<divid="bar"></div>
{# Instead of: #}
<divid="bar-suffix"></div>
I just tried all of these (thanks for the GREAT report, btw) and they all work fine. About 1 hour ago, I merged #827, which really overhauled all of this handling. If you grab that commit and still have problems, definitely let me know.
Hi @weaverryan,
you are right, I just pull the latest changes and now it works like a charm.
I was unlucky to update my dependencies a few hours too early :D
Some attributes are not parsed correctly and throw exceptions or render badly when using html-like syntax.
All these ones works fine:
But these ones aren't working as expected:
Note: the last one came after I updated my dependencies to get #824, so I think it is a regression because it was working fine before.
The text was updated successfully, but these errors were encountered: