Thanks Paulo, That worked great. Now I just need to figure out why the DOM
automatically wraps text in paragraph tags (<p></p>). This is built into the Sun
HTMLEditorKit class and is driving me nuts. It makes it impossible to have code
on two subsequent lines. Instead every time you hit enter the text is wrapped in
<p> tags and hence acts like two <br> tags are there. If anyone has come across
this and figure out a fix let me know!


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to