You need to sign in to do that
Don't have an account?
Nirmal Christopher
HTMLENCODE is not working
This is the VF code Snippet we are using in our org. The user user rich text area to enter te data and this component is used in a standard page. but we are querying this value in anothe Custom VF page. The problem is the output text value renders the output along with HTML tags. If i remove the HTMLENCODE it works fine. FYI HTMLENCODE is required for submitting the app for app exchange. So we cannnot remove that.
<td><apex:outputText value="{!HTMLENCODE(r.questions)}" escape="false"/></td>
Any alternative solutions is appreciated.
<td><apex:outputText value="{!HTMLENCODE(r.questions)}" escape="false"/></td>
Any alternative solutions is appreciated.
Try using:
<td><apex:outputText value="{!HTMLENCODE(r.questions)}" /></td>
I tried it not working.
Check logs in developer console. What value are you getting for r.questions?
Also try to replace r.questions with a text field to check if r.questions is causing issue.
Did you find any solution/alternative for this? Actually, we are also facing the same issue with our visualforce page. HTMLENCODE does not seem to be working. Any help will be appreciated.
Thanks,
Pankaj
I am facing the same issue. Do we have any alterate solution for this.
Please suggest if any alternate solution is there?
Thank you,
Thahaseen