What I do is this: 1) Use contextHighlightBegin and contextHighlightEnd attributes to tell CF how to mark up stuff in the context. I use
___000___ and ___111___ I then remove all HTML from the context: foo = replace(foo,"<.*?>", "", "all") I then replace ___000___ with whatever HTML I want to use to start a context match, like <b>, and then replace ___111___ with </b>. On Nov 7, 2007 2:22 PM, Peterson, Andrew S. <[EMAIL PROTECTED]> wrote: > Hello, > > I've got some verity search results from a query and am outputting the > #Context# variable The context variable returns as formatted text, but > however the text is formatted, if there is no corresponding end tag, > such as an </span>, the formatting carries over to the next search > result. > -- =========================================================================== Raymond Camden, Camden Media Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292889 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

