before you use the textarea's value in cfdocument, replace
all CR & LF
characters with <br />.
there are couple of cf functions you can use to do it:
replace(somestring, chr(10) & chr(13), "<br />",
"all")
rereplace(somestring, "\r\n", "<br />", "all")
listchangedelims(somestring, "<br />", chr(10) &
chr(13))
[cf representation of CR and LF chars is chr(10) and chr(13);
\r and \n
are regexp character classes for CR and LF]
hth
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/