Couldn't you use cfsavecontent instead of cfset?
-d
----- Original Message -----
From: "Angel Stewart" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 2:59 PM
Subject: Concatanating fields with special characters.
> I have a variable that I am filling with the top header of an HTML page.
>
>
> So the content is:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "HYPERLINK
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"http://www.w3.o
> rg/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="HYPERLINK
> "http://www.w3.org/1999/xhtml"http://www.w3.org/1999/xhtml">
> <head>
>
> After some further editing etc. etc. I want to rebuild the page.
>
> THis involves concatanating the Header, a middle portion, and the
> footer.
>
> I am running into the problem of the CFSET statement escaping when it
> hits the special characters like the "" and // in the header.
>
> How would I go about automatically escaping all these characters?
> HTMLEDITFORMAT and HTMLCODEFORMAT didn't help very much.
>
> -Gel
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/2004
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

