I'm currently using version 2009.1.527.35 of the Telerik RadControls for ASP.NET Ajax. When I use the Default Content Filters ( or none) and the user edits the content using the HTML view and adds an then clicks Design and back to HTML, the entity is translated to a space. I narrowed down the issue to the the ConvertToXhtml content filter by a process of elimination.
Is this expected behavior? I did notice that Firefox doesn't exhibit the same behavior--only IE 8. I didn't try IE7 or Chrome.
I don't really care for the result--I'd like to keep XHTML formatting, but I don't really have a choice since the is more critical to the CMS.
Here's how to reproduce the issue:
1) Create a page with the following markup:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebpPrototype._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
>
</
asp:ScriptManager
>
<
div
>
<
telerik:RadEditor
ID
=
"RadEditor1"
runat
=
"server"
Skin
=
"Black"
ContentFilters
=
"ConvertToXhtml,RemoveScripts,FixUlBoldItalic,IECleanAnchors,FixEnclosingP,MozEmStrong,ConvertFontToSpan,IndentHTMLContent,OptimizeSpans"
>
</
telerik:RadEditor
>
</
div
>
</
form
>
</
body
>
</
html
>
2) View the page in the browser. Click HTML. Add an to the content. Click design. Click back and the &NBSP; has been replaced with spaces.
3) In the page markup, remove the ConvertToXhtml form the ContentFilters. Repeat and see the expected results.