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.
In NetBeans 6.1RC2, the editor flags an error in this line in an .html.erb file: <span><%= 100 %>%</span> The error is reported as ", Unexpected tLT" and "Unmatched tag". If I add a space before or after the second %, the error goes away. But then I have unwanted whitespace in my markup. I may be wrong, but I think this is valid syntax. The second % isn't an embedding signifier, it's just a percent sign. It could be that the parser is interpreting the second % as "a line of Ruby code follows", but (a) that syntax is optional for ERB, and not enabled by Rails; and (b) the way I read the ERB RDoc, it should only apply if the % is the first non-whitespace character in the line.