joshua,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Joshua Starr <[EMAIL PROTECTED]>
:
: We may have visited this before, but is there a way
: to include a double quote (") or a series of them in
: a string variable? I am trying to output a string using
: CFHTMLHEAD and would prefer to use double quotes
: instead of single quotes around my parameter values
: to be compatible with XHTML.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

escape them by doubling them up.  from a post on the 21st of this month:

<tip type="cold fusion">

trying to put something with quotes or hashes into a cf variable and getting
errors?  then escape them.  it's as easy as repeating the offending entity.

<cfset myFont = "<font face=""Arial"" color=""##ffcc00"">">

</tip>

good luck,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:[EMAIL PROTECTED]


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to