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 224836

Summary: Escaped & incorrectly marked as syntax error in inline JavaScript in on* attributes
Product: javascript Reporter: pekarna <pekarna>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: mfukala
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description pekarna 2013-01-14 10:31:08 UTC
<input onclick="if( validateURL(this.value) &amp;&amp; ( ! this.active ) ){  }">

The &amp;&amp; is marked as error.

Not only it's correct, but it's the only valid way to have & char in HTML attribute.
Comment 1 Petr Pisl 2013-05-31 08:37:56 UTC
Need to be change the virtual source and translate &amp; to &