Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

I am trying to enter below text in a RTF field source view.

One is ≤ One
One is ≤ One
One is ≤ One

Post above entry, I am switching to design view where I am able to see the content as expected i.e.,

One is ≤ One

When I switch again back to source view of RTF field, the it is showing "One is ≤ One" instead of

One is ≤ One

Any idea how I can persist

≤

in source view of RTF field.

share|improve this question

1 Answer 1

When you switch views, the data is loaded into an XML document in order to allow the format area XSLT to be executed. When this happens, the serialisation format is lost, and you have an in-memory representation of your characters. When the XSLT executes, the data from your XML document is again serialised, and in this case, you get a byte-representation of the character.

If this is desperately important to you, you might consider writing call templates in the XSLT to process element content and output the relevant sequences, but I'm left wondering what the point is. What is your reason for wanting to do this?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.