html tags shown in the profile-messages section

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

html tags shown in the profile-messages section

aswath narayana
Hello,

Steps to reproduce:
* create a order in ecommerce
* order confirmation is sent as an email
* now click on the profile and go to the last messages section.

I am looking at the profiles-messages section.  In the section, when clicked
on the 'read', the flow goes into 'ecommerce/control/readmessage' ->
messagedetail.ftl.
Here, the communicationEvent object is displayed.
One of the variables ${communicationEvent.content} has HTML content.  The
content is displayed along with the HTML tags, and hence the message is not
readable.

How to get rid of the HTML tags?

-Aswath
Reply | Threaded
Open this post in threaded view
|

Re: html tags shown in the profile-messages section

Deepak Dixit-2
I thinks this can help :
${StringUtil.wrapString(CommunicationEvent.content)}


Thanks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98267-54548


aswath satrasala wrote:

> Hello,
>
> Steps to reproduce:
> * create a order in ecommerce
> * order confirmation is sent as an email
> * now click on the profile and go to the last messages section.
>
> I am looking at the profiles-messages section.  In the section, when clicked
> on the 'read', the flow goes into 'ecommerce/control/readmessage' ->
> messagedetail.ftl.
> Here, the communicationEvent object is displayed.
> One of the variables ${communicationEvent.content} has HTML content.  The
> content is displayed along with the HTML tags, and hence the message is not
> readable.
>
> How to get rid of the HTML tags?
>
> -Aswath
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: html tags shown in the profile-messages section

Jacques Le Roux
Administrator
Thanks Deepak, and Aswath for report,

Fixed in trunk at r936817, R9.04 at r936820

Jacques

From: "Deepak Dixit" <[hidden email]>

>I thinks this can help :
> ${StringUtil.wrapString(CommunicationEvent.content)}
>
>
> Thanks & Regards
> --
> Deepak Dixit
> HotWax Media Pvt. Ltd.
> Website :- www.hotwaxmedia.com
> Contact :- +91-98267-54548
>
>
> aswath satrasala wrote:
>> Hello,
>>
>> Steps to reproduce:
>> * create a order in ecommerce
>> * order confirmation is sent as an email
>> * now click on the profile and go to the last messages section.
>>
>> I am looking at the profiles-messages section.  In the section, when clicked
>> on the 'read', the flow goes into 'ecommerce/control/readmessage' ->
>> messagedetail.ftl.
>> Here, the communicationEvent object is displayed.
>> One of the variables ${communicationEvent.content} has HTML content.  The
>> content is displayed along with the HTML tags, and hence the message is not
>> readable.
>>
>> How to get rid of the HTML tags?
>>
>> -Aswath
>>
>>  
>
>