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.
from the issue 209026 by b1385616 I get: {% block choice_widget_expanded -%} <div {{ block('widget_container_attributes') }}> {%- for child in form %} <div class="chooseOptionBox"> {{- form_widget(child) -}} {{- form_label(child) -}} </div> {% endfor -%} </div> {% endblock choice_widget_expanded %} instead of: {% block choice_widget_expanded -%} <div {{ block('widget_container_attributes') }}> {%- for child in form %} <div class="chooseOptionBox"> {{- form_widget(child) -}} {{- form_label(child) -}} </div> {% endfor -%} </div> {% endblock choice_widget_expanded %}
Also the following case: <html> <body> {% block body %}{% endblock %} </body> </html> Result: <html> <body> {% block body %}{% endblock %} </body> </html>
(In reply to junichi11 from comment #1) > Also the following case: > > <html> > <body> > {% block body %}{% endblock %} > </body> > </html> > > Result: > <html> > <body> > {% block body %}{% endblock %} > </body> > </html> This case is the issue 243184[1] [1] https://netbeans.org/bugzilla/show_bug.cgi?id=243184
Fixed. http://hg.netbeans.org/web-main/rev/49ad1d7603c1 Thanks.
Integrated into 'main-silver', will be available in build *201612270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/49ad1d7603c1 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #269423 - Twig wrong formatting