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 137688

Summary: Matching brackets <& %> must not count => hash assignments
Product: ruby Reporter: hans_artmann <hans_artmann>
Component: RHTMLAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: blocker CC: kiyo_h76, masaki
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description hans_artmann 2008-06-19 10:54:31 UTC
Matching brackets < > delivers wrong results when hash assignments like => are present in the ruby code enclosed in <% 
%>.
Comment 1 kiyo_h76 2009-05-13 07:59:07 UTC
hi all,

i tried to edit *.html.erb on 6.7 and looked this bugs.
like this:

    <%= link_to "test",
      :action => "show",
      :id => post %>

do you decide when this Bug fixes it?
because "<% %>" is the reserved word, could you consider "<% %>" as brackets?
or could you consider "=>" NOT to be brackets?

thanks
Comment 2 Erno Mononen 2009-05-19 15:13:41 UTC
This will have to wait for the next release, unfortunately.
Comment 3 Erno Mononen 2009-05-19 15:17:51 UTC
*** Issue 138375 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2009-09-09 15:16:58 UTC
*** Issue 163310 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2009-09-11 11:22:15 UTC
Working on this now.
Comment 6 Erno Mononen 2009-09-14 13:54:32 UTC
Fixed in 5b330c867193.
Comment 7 Quality Engineering 2009-09-16 01:06:51 UTC
Integrated into 'main-golden', will be available in build *200909151512* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5b330c867193
User: Erno Mononen <emononen@netbeans.org>
Log: #137688: Matching brackets <& %> must not count => hash assignments