You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Kishore Pagadala <Ki...@mindtree.com> on 2009/10/19 13:48:41 UTC
special character's like apostrophe, ampersand converted into
' &
I have a groovy code which reads DB and insert's a string into context, this string can contain special characters like apostrophe, ampersand; which are converted by ftl engine into ' &
Ex:-
Wendy's & Fitch
Converted into
Wendy's & Fitch
How can I stop this auto conversation into ' & ?
Regards,
Kishore
http://www.mindtree.com/email/disclaimer.html
Re: special character's like apostrophe, ampersand converted into ' &
Posted by Jacques Le Roux <ja...@les7arts.com>.
In FTL, put a StringUtil.wrapString(around_your_string)
Jacques
From: "Kishore Pagadala" <Ki...@mindtree.com>
>I have a groovy code which reads DB and insert's a string into context, this string can contain special characters like apostrophe,
>ampersand; which are converted by ftl engine into ' &
>
> Ex:-
> Wendy's & Fitch
>
> Converted into
>
> Wendy's & Fitch
>
> How can I stop this auto conversation into ' & ?
>
> Regards,
> Kishore
>
> http://www.mindtree.com/email/disclaimer.html
>