A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Swing / AWT / SWT
Joined: Feb 01, 2010
Dec 10, 2010 06:55:36
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.
Have you checked out
subject: HtmlEditorKit/HtmlDocument/HtmlReader problem
PriorityBlockingQueue and concurrent access
JSP not being generated properly with SAX
Html page doesn't include styles,given in document.
jsp:usebean not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015