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 225564 - {% error script block
Summary: {% error script block
Status: RESOLVED INCOMPLETE
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 23:14 UTC by rox85
Modified: 2013-02-04 14:14 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 rox85 2013-01-30 23:14:58 UTC
Following code indicates parsing error for all the code inside the "script"

<script id="template-download" type="text/x-tmpl"> 
{% if (true) { %}

   <!-- html code -->

{% } %}
</script>

The first error says: Expected an operand but found %

Product Version: NetBeans IDE 7.3 RC1 (Build 201301240957)
W8 64bit
Comment 1 Ondrej Brejla 2013-01-31 08:27:13 UTC
HTML comment in script tag. A lot of duplicates are assigned to JS support. But afaik, text/x-tmpl is not a known type...
Comment 2 Petr Hejl 2013-02-04 14:14:48 UTC
What is text/x-tmpl? Any context?