nmatt opened a new issue, #9018: URL: https://github.com/apache/netbeans/issues/9018
### Apache NetBeans version Apache NetBeans 28 ### What happened The javadoc viewer in the editor shows HTML comments contained within the javadoc comment, although such HTML comments aren't visible in generated API docs (HTML files viewed in a regular HTML viewer or browser). Example: <img width="367" height="182" alt="Image" src="https://github.com/user-attachments/assets/93573082-e1f5-431b-a7b9-5033f4e8f5fe" /> ### Language / Project Type / NetBeans Component Javadoc ### How to reproduce Create a Java class with a javadoc comment containing an HTML comment like `<!--some comment -->`. Invoke the javadoc viewer for the class (e.g. Ctrl+Shift+Space). ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows ### JDK 21 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else This is inconvenient when using the javadoc viewer to assess how the javadoc one is writing will appear in an HTML viewer. For example, I'm using HTML markup within a `<pre>` element, and use HTML comments to align the text content in the source (to compensate for different markup on different lines) the same as it would appear in the rendered output. However, the javadoc viewer destroys that alignment by showing the HTML comments. ### Are you willing to submit a pull request? No -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
