Apache NetBeans version
Apache NetBeans 27
What happened
Recent versions of the JDK API docs have been adding "Copy" buttons for code sections, like for example here: https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Class.html#newInstance%28%29
These are rendered by NetBeans in a way that overlaps with preceding text, making it unreadable.
Example screenshot (red ellipses highlight the issue):

Language / Project Type / NetBeans Component
Java
How to reproduce
Invoke the javadoc window (e.g. Ctrl+Space) on an invocation of Class.getInstance() (for example).
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
No response
Are you willing to submit a pull request?
No
Apache NetBeans version
Apache NetBeans 27
What happened
Recent versions of the JDK API docs have been adding "Copy" buttons for code sections, like for example here: https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Class.html#newInstance%28%29
These are rendered by NetBeans in a way that overlaps with preceding text, making it unreadable.
Example screenshot (red ellipses highlight the issue):

Language / Project Type / NetBeans Component
Java
How to reproduce
Invoke the javadoc window (e.g. Ctrl+Space) on an invocation of Class.getInstance() (for example).
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
No response
Are you willing to submit a pull request?
No