You might also want to strip any non-html carriage returns, which will not get picked up by ignoreWhiteSpace, as well.
myHtmlString.split("\n").join("").split("\r").join(""); _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com