HTML markup in database

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

HTML markup in database

Gavin Mabie
Hi

 

I have added a visual-editor-enable="true" element to the story field in the
EditCustRequestItem form.  The HTML markup is now saved in the database -
but when I want to render the content ${custRequestItem.story} with an
ftl-file the markup shows eg <strong>Something</strong>.  How do I get rid
of the markup?

 

Thanks

 

Gavin

Reply | Threaded
Open this post in threaded view
|

Re: HTML markup in database

Scott Gray-2
${StringUtil.wrapString(custRequestItem.story)}

Regards
Scott

On 3/08/2011, at 3:43 AM, Gavin Mabie wrote:

> Hi
>
>
>
> I have added a visual-editor-enable="true" element to the story field in the
> EditCustRequestItem form.  The HTML markup is now saved in the database -
> but when I want to render the content ${custRequestItem.story} with an
> ftl-file the markup shows eg <strong>Something</strong>.  How do I get rid
> of the markup?
>
>
>
> Thanks
>
>
>
> Gavin
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: HTML markup in database

Gavin Mabie
Thanks Scott!

-----Original Message-----
From: Scott Gray [mailto:[hidden email]]
Sent: 03 August 2011 04:20 AM
To: [hidden email]
Subject: Re: HTML markup in database

${StringUtil.wrapString(custRequestItem.story)}

Regards
Scott

On 3/08/2011, at 3:43 AM, Gavin Mabie wrote:

> Hi
>
>
>
> I have added a visual-editor-enable="true" element to the story field in
the

> EditCustRequestItem form.  The HTML markup is now saved in the database -
> but when I want to render the content ${custRequestItem.story} with an
> ftl-file the markup shows eg <strong>Something</strong>.  How do I get rid
> of the markup?
>
>
>
> Thanks
>
>
>
> Gavin
>