You can use the <pre></pre> HTML tags to maintain
line breaks and spacing (though you'll probably want to do some
stylesheet work with that tag because the default style is pretty
ugly). On the otherhand if all you are interested in is line
breaks, you can do the following:
<cfset sFormattedString = Replace(myString,
"#chr(13)##chr(10)#", "<br>", "all")>
chr(13) and chr(10) are the ASCII character codes for line
break and line feed (respectively).