Replace all double quotes (") with single quotes (')
Replace every forward slash (/) with /

>From: "Angel Stewart" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Concatanating fields with special characters.
>Date: Fri, 9 Jan 2004 16:59:38 -0400
>
>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]

Reply via email to