I monkeyed with replacelist and couldn't get it to work... i think you are just going to have to put them an array and loop over each item with a standard replace...
On Fri, Jan 28, 2011 at 12:44 PM, Ajas Mohammed <ajash...@gmail.com> wrote: > Charlie, > > I think He wants the result you show in 3.Michael feel free to correct me. > > I got him to the point like you showed in 2 i.e. with <p> tags etc by using > replacelist function to get rid of CDATA etc. > <p class="meta"><strong>Property > Description:</strong>#replacelist(shortDescription, '<![CDATA[,]]>','')#</p> > > Steve mentioned a link that would take care of replacing html tags. > > <Ajas Mohammed /> > http://ajashadi.blogspot.com > We cannot become what we need to be, remaining what we are. > No matter what, find a way. Because thats what winners do. > You can't improve what you don't measure. > Quality is never an accident; it is always the result of high intention, > sincere effort, intelligent direction and skillful execution; it represents > the wise choice of many alternatives. > > > On Fri, Jan 28, 2011 at 12:37 PM, Charlie Arehart <char...@carehart.org>wrote: > >> That wasn’t clear to me. Thanks. >> >> So let’s make it simple for everyone to follow along and perhaps resolve >> things. It would be as if you (Michael) did this (always helpful to offer a >> simple reproducible case): >> >> <cfset x = “<![CDATA[<p><strong>Location.</strong> >> <br />This condo property is located in Celebration. Old Town is an >> area attraction. Another nearby attraction is Wide World of Sports. >> </p><p><strong>Features. </strong>]]>”> >> >> <cfoutput> >> >> #x# >> >> </cfoutput> >> >> What would be the output you would want to appear? >> >> 1) Is it: >> >> <![CDATA[<p><strong>Location.</strong>; <br />This condo property is >> located in Celebration. Old Town is an area attraction. Another nearby >> attraction is Wide World of Sports. </p><p><strong>Features.</strong>]]> >> >> --- >> 2) Or do you want: >> >> <p><strong>Location.</strong>; <br />This condo property is located in >> Celebration. Old Town is an area attraction. Another nearby attraction is >> Wide World of Sports. </p><p><strong>Features.</strong> >> >> ----- >> 3) Or do you want: >> >> *Location.* >> >> This condo property is located in Celebration. Old Town is an area >> attraction. Another nearby attraction is Wide World of Sports. >> >> *Features.* >> >> --- >> >> >> /charlie >> >> >> >> *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Steve >> Ross >> *Sent:* Friday, January 28, 2011 10:52 AM >> >> *To:* discussion@acfug.org >> *Subject:* Re: [ACFUG Discuss] XML data showing in dump but not in >> cfoutput >> >> >> >> charlie the problem is that the CDATA is already in > etc he needs to >> convert it back and unfortunately there is no "unhtmleditformat" in CF... >> >> >> >> ------------------------------------------------------------- >> To unsubscribe from this list, manage your profile @ >> http://www.acfug.org?fa=login.edituserform >> >> For more info, see http://www.acfug.org/mailinglists >> Archive @ http://www.mail-archive.com/discussion%40acfug.org/ >> List hosted by FusionLink <http://www.fusionlink.com> >> ------------------------------------------------------------- >> > > -- Steve Ross web application & interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]