As an alternative... Given what you are trying to accomplish and not knowing all of your goals this may not work, but it's an option.
Have you considered giving your users access to a WYSIWYG editor such as CKEditor (http://ckeditor.com/) or the many other offerings around these days: http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors <http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors>With a WYSIWYG editor, you users can create the literal HTML you're trying to output, rather than parsing through the text to display it. =] -- Alan Rother Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org Twitter: @AlanRother ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340306 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

