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.
Given this in a .html.erb file: <tr> <td style="font-size:12px; color:#FFFFFF; padding:10px 0px 5px 10px;" bgcolor="#7db1cb"> <strong>Support Center</strong> </td> </tr> Put your cursor on the /tr; the matching tr doesn't turn yellow. Remove the <strong> line, do the same thing. The matching tags now turn yellow. Product Version: NetBeans IDE Dev (Build 20080227025219) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Userdir: /home/james/.netbeans/dev
This is handled by the HTML embedding lexer
Similar problem here: <table> <tr> <td> <%= error_messages_for :customer %> </td> </tr> </table>
The problem with the tag matching being broken by the embedded JSP or EL is already reported in issue #95303. As for the <strong> ... funny - the problem is that the <sTRong> contains the "tr" as substring :-)
fixed in revision c078fb70aed1 by reimplementing the html bracket matcher to be parser based.