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.
When editing HTML with code examples or navigation etc. you need to change pasted (or typed) code -- instead of characters <, & and > it is better to use < & and > entities. It could be good to have such action in editor context menu. (As 'Paste with substitutions' or 'Substitude') ... better wording of these actions is a must.
*** This bug has been marked as a duplicate of bug 161493 ***