Nicole
Posts: 586
|
Posted: 02/17/2004, 2:52 AM |
|
Jeannine,
It appears that CC SetVar function replacing curl braces with { and } respectively:
Function SetVar(sName, sValue)
if ParsedBlocks.Exists(sName) then
ParsedBlocks(sName) = replace(replace(sValue, "{", "{"), "}", "}")
else
ParsedBlocks.add sName, replace(replace(sValue, "{", "{"), "}", "}")
end if
(BTW, I see that some code is converted in output, so please check Template.asp for exact code)
so as you need to add something without escaping you can try this code
ParsedBlocks(sName) = sValue
Please keep in mind that as long as CC template variables also are framed using braces you'd better do not use the following symbols in template variable names:
" ;:=(".
Without these chars the text in {} will be considered as template variable.
_________________
Regards,
Nicole |