This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This gives me a syntax error ("Unopened 'endset' block") at line 3: {% set test -%} foo {% endset %} When I remove the `-` from the `set`-line, the syntax error disappears.
Thanks for reporting it! I'll fix it.
Fixed. http://hg.netbeans.org/web-main/rev/b52e539b2358 @ThomasLandauer Could you verify it when it is available in a dev build[1]? (Probably, tomorrow or later) [1] http://bits.netbeans.org/download/trunk/nightly/latest/ Thanks.
I just checked with Build 201708090001 and the issue is still there. But if you say you fixed it, I'm sure you did fix it - so I'll just wait for the next release :-)
A message is added automatically if it is available in a dev build. Please wait a while :) Thanks.
Integrated into 'main-silver', will be available in build *201708100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b52e539b2358 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #271040 - Twig syntax error with {% endset %}