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.
This is extract from issue 160347: combination of HTML tag with optional end and templating language tag in which previous HTML may or may not have been closed are not handled optimally. For example: ------------------------------ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <html> <head><title></title></head> <body> <p> <c:if test="true"> <table cellpadding="5" border="1"> <tr> <td>undefinedKey</td> <td>undefinedKey</td> </tr> </table> </c:if> </p> </body> </html> ---------------------------------- where <table> closed <p> because table is not allowed in paragraph but because of presence of <c:if> formatter gets confused.
*** Issue 160347 has been marked as a duplicate of this issue. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss