1. Regular Expression, JEditorPane, Self-closing tags stackoverflow.comI'm am using JEditorPane to render basic HTML. But it renders self-closing tags incorrectly, specifically br tags, e.g. <br /> is bad but <br> is good. I would like ... |
2. Syntax highlighting in JEditorPane in java stackoverflow.comI want to perform syntax highlighting in jEditorPane. It allows me to perform single line syntax highlighting but if the XML tag is split into two or more line it does ... |