This is a migrated thread and some comments may be shown as answers.

replacement of &

1 Answer 114 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Felix
Top achievements
Rank 2
Felix asked on 05 Oct 2009, 09:17 AM
Hi folks,

is it possible to suppress the replacement of some special-characters when submitting the editors content?
E.g.: in HTML-View we have this content:
<href="http://whatever.com/a.aspx?p1=123&p2=abc">whatever</a> 

After submitting the content or switching modes i looks like this:
<href="http://whatever.com/a.aspx?p1=123&amp;p2=abc">whatever</a>  

so & becomes &amp;

how can we suppress this replacement?
(Firefox 3.5.3, latest Telerik-dll)
Thanks in advance

Felix


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 07 Oct 2009, 01:11 PM
Hi Felix,

My suggestion is to replace the &amp; entity with & using a content filter. The following KB article will show you how to implement a custom content filter and replace the entity with its character representation: Converting Unicode symbols to numeric HTML entities using a content filter.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Felix
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or