If you switch to use 1.5-beta, then you can escape the double quotes by doubling them:
#set($keywords = "<meta name=""keywords"" content=""information, xyz, something, $person.name, $person.address""/>") On 10/18/06, Manish <[EMAIL PROTECTED]> wrote:
Never mind - I got this working! #set($keywords = $render.eval('<meta name="keywords" content="information, xyz, something, $person.name, $person.address"/>')) - Manish ----- Original Message ----- From: "Manish" <[EMAIL PROTECTED]> To: "Velocity Users List" <velocity-user@jakarta.apache.org> Sent: Wednesday, October 18, 2006 1:37 PM Subject: Simple question regarding including double quotes in #set > How do I include double quotes in the #set variables? This is what I am trying > to get working, note that including this in single quotes won't render some > variable values that I want. > > #set($keywords = '<meta name="keywords" content="information, xyz, something, > $person.name, $person.address"/>') > > TIA, > - Manish > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]