I've tried reading in a file both using cffile action="read" and cfhttp and getting the cfhttp.fileContent. These both read the file fine, but then when I do a cfoutput for the variable all of the line breaks have disappeared. Is there an option I need to set either when reading or writing?
nevermind, duh, i know what my problem is. of course line breaks when parsed as html won't show up right...
Hi there,
I thik you want to use the <PRE> tag this will keep text in it's PREFORMATED state, preserving the line breaks for you.