Register / Login
Swing / AWT / SWT
posted 5 years ago
editing HTML in my application I found that HtmlReader (probably) ignores/removes empty paragraphs... For example, loading the following HTML code
<p style="margin-top: 0">
causes something like that
Also it ignores/removes table cells with empty paragraph elements inside. It is interesting that it removes only one element per getText/setText iteration.
This unwanted removing of empty elements causes a lot of headache during editing, etc.
I appreciate any comments and suggestions how to fix it.
PriorityBlockingQueue and concurrent access
JSP not being generated properly with SAX
Html page doesn't include styles,given in document.
jsp:usebean not working