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 138375

Summary: Syntax highlight for <%= %> is broken
Product: ruby Reporter: polan <polan>
Component: RHTMLAssignee: Erno Mononen <emononen>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description polan 2008-06-26 15:22:13 UTC
[Build 200806260103, JDK 1.6.0]

To reproduce:

1) Have .erb file with code like (| is cursor):

  <%= link_to "Refresh", :action => "myview" %>|

ERROR: Last > bracket is considered invalid and highlighted red.
NOTE: The > bracket from '=>' is apparently considered as a closing one
Comment 1 Erno Mononen 2009-05-19 15:18:12 UTC

*** This issue has been marked as a duplicate of 137688 ***