Re: freemarker HTML escaping of ' char

"Stoehr Sukachevin" <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Using the "?xhtml" built-in will convert single quote characters to "&#39;".

-- Stoehr
 
Stoehr Sukáchevin
Chief Software Architect, Product Engineering
Plateau Systems, Ltd.

-----Original Message-----
From: aldana [mailto:[email protected]] 
Sent: Thursday, March 19, 2009 09:44 AM
To: [email protected]
Subject: Re: [FreeMarker-user] freemarker HTML escaping of ' char


sorry, i meant to say: ?replace("'","&#39;")


aldana wrote:
> 
> why is the ' char not escaped by the ?html function? Working with
> javascript (where I introduce string with ' to get escaping of " for free)
> things get difficult.
> 
> Is there another another way as using ?replace("'",&#39;) inside
> freemarker?
> 
> thanks.
> 


-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: http://www.nabble.com/freemarker-HTML-escaping-of-%27-char-tp22600439p22600537.html
Sent from the freemarker-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user
.
The information contained in this e-mail message is intended only for the personal 
and confidential use of the recipient(s) named above. This message is privileged 
and confidential. If the reader of this message is not the intended recipient or an
agent responsible for delivering it to the intended recipient, you are hereby notified 
that you have received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.