Hmm.  That sucks, i can't get it to work either.  Neither do i see any
testcases for it.   I also thought Geir had implemented this (might do
some archive searching on this).  But, i've long since been in the
habit of doing the manual escaping quotes anyway and still do without
thinking about it:

i typically have the EscapeTool (from VelocityTools) present and just use:

$esc.q

before that i would always do:

#set( $q = '"' )

and use:

$q

the opposite works for single quotes too:

#set( $s = "'" )
$s

On 2/21/07, Steve O'Hara <[EMAIL PROTECTED]> wrote:
I've been racking my brains trying to find a way to solve the double
quotes problem in 1.4 and finally gave in and moved up to 1.5 believing
that it is now all fixed.....  However, the following gives me a parser
error at the use of the "".

#set ($Anchor="<a href='javascript:void(0)'
onclick='OpenAttachmentsWindow(""$AppPath/file/database?datasrc=$DataSou
rce&view=document&key=$Key&${UniqueNumber}${velocityCount}.${FileExt}"")
'>")

What am I doing wrong?

Thans,

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to