Sorry, no, HTMLEditFormat replaces < > & and " and their unicode
versions with the equivalent HTML entities. It doesn't turn CR or LF
into <br />, or fix any Word characters.

Dave

On Sat, Nov 6, 2010 at 8:55 PM, Larry Lyons <larrycly...@gmail.com> wrote:
>
> Look at the DeMoronize function on CF-Lib.org It does a pretty good job of 
> removing most Word related crud.
> http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=725
>
> Also you can use the replace function to replace the windows carriage returns 
> and line feeds with a <br />
>
> However it may be easier just to use the HTMLEditFormat() function that does 
> the same.
>
> hth,
> larry
>
>
>>> You can also find useful functions on cflib.org for formatting and remove
>>> word crap.
>>> Htmltidy may also help you, this is not a cfml tag though so use google.
>>>
>>
>>Totally!  cflib.org roxors.
>>
>>You can probably find something that sanitizes the input for XSS
>>attacks and whatnot too, which shouldn't be overlooked.
>>
>>I'd google it for the OP, but the OP doesn't know me that well, and
>>thus I might be interpreted incorrectly.  ;)p
>>
>>:Den
>>
>>--
>>He who does not bellow the truth when he knows the truth makes himself
>>the accomplice of liars and forgers.
>>Charles Peguy
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:338920
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to