You need to sign in to do that
Don't have an account?
jtran
How to set a column to be html-aware?
Hi,
I'm writing a visualforce page that displays the email messages associated with a support case. One of the column of my page contains the email body. Since many of the emails contain html data so I'm using the htmlbody field from the EmailMessage object because the textbody field contains no line-breaks so the text is all lumped together.
How do I display the html text properly or at least preserving the line break/carriage returns so that the column's text is readable? Thanks,
James
Have you tried unescaping the field :
<apex:outputtext value="..." escape="false"/>
Hi David,
I tried adding the escape attribute as you have suggested and got further. Will see how far I can go with it.
Thanks,
James