Image

Imagevolkischexe wrote in Imagewebdev

Is there anything I can do with HTML and/or ColdFusion to render a chunk of text as raw HTML with no line breaks or anything?

I'm making a page for modifying the content of several email messages stored in a database table (the messages are sent automagically when certain actions happen in the process this application manages). I'd like to display the first 50-100 characters of the EmailBody field for each record in this table, but the content of the field in the database includes paragraph tags and line breaks, so it's showing up a little incorrectly on the page.

I hope this makes sense.

Anyhow, if anyone has any insight, I much appreciate it. Thanks!