Re: how to escape double quotes
Daniel Dekany <[email protected]> Thu, 31 Jul 2003 14:04:27 +0200
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
Thursday, July 31, 2003, 1:55:59 PM, Ralf Hauser wrote:
[snip]
>> I don't understand what you say. FTL doesn't touch entity references
>> (&...;), only the browser parses them. Can you give a bare-bone example
>> of what do you want to do?
> in my html output from fmpp, I want to see a """.
> Is there any escaping mechanism short of using <#noparse>"</#noparse>?
If you write:
"
${"""}
then it will output:
"
"
FreeMarker does not touch "-s, as FTL syntax has no entity
references, so " is just text. Unless... do you try to print an
expression inside en <#escape x as x?html> block (in that case you get
&quot; in the output)? Then use <#noescape>${exp}</#noescape> to
disable automatic escaping for that block.
--
Best regards,
Daniel Dekany
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01