You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/11/22 17:10:27 UTC

[GitHub] [netbeans] jherkel commented on pull request #2542: [NETBEANS-5034] fix wrong javadoc error hint

jherkel commented on pull request #2542:
URL: https://github.com/apache/netbeans/pull/2542#issuecomment-731778714


   I think probably this PR https://github.com/apache/netbeans/pull/2470 caused this behaviour. After some studying of code I think that correct place where we can omit some html tags with optional end tag is in visitEndElement method, not visitStartElement. And there is a code :
   ```
   while (!tagStack.isEmpty()) {
   ....
   else if (tag != null && tag.hasOptionalEndTag()) {
   tagStack.pop();
   }
   ...
   ```
   which processes these start tags and remove them from stack.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists