Troubleshooting
Problem
Change 5.2.0.5 changes the way single and double-quotes are interpreted in RTF fields (such as "WSLET") at the time Javascript is produced. This can cause issues in your customized code when your browser interprets the produced code.
Symptom
Try to use a variable as below with an attribute MY_ATTRIBUTE of type CCM_EXTENDED_TEXT:
var currentSituation = "<!-- WSLET CODE=PTText --><!-- PARAM NAME=CCM_STRING VALUE='MY_ATTRIBUTE' --><!-- /WSLET -->";
Then, give it a value as below (please note the presence of two "single quote" characters in the sentence):
===
It's an example of how single quotes' interpretation causes trouble.
===
The code produced can eventually cause issues on the final page when it's rendered in a browser (errors on the page, incorrect display, etcetera.)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
13 November 2019
UID
swg21618941