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.

Bug 247434 - Opening twig block tag undetected if space missing
Summary: Opening twig block tag undetected if space missing
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Twig (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 09:48 UTC by Zoff
Modified: 2017-01-07 08:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoff 2014-09-24 09:48:34 UTC
If there is no space before %} opening block tag isn't detected by parser.

Example:

{%block someblock%}
some content
{%endblock%} --> ERROR: Unopened 'endblock' block

{%block someblock %}
some content
{%endblock%} --> NO ERROR
Comment 1 junichi11 2017-01-05 01:52:09 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/201fe42365fb

Thanks.
Comment 2 Tomas Mysik 2017-01-05 05:55:38 UTC
Thanks a lot, Junichi!
Comment 3 Quality Engineering 2017-01-07 08:40:50 UTC
Integrated into 'main-silver', will be available in build *201701070458* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/201fe42365fb
User: Junichi Yamamoto <junichi11@netbeans.org>
Log: #247434 - Opening twig block tag undetected if space missing