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

radEditor changing html tags

2 Answers 87 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 29 Oct 2008, 08:40 AM
Hello
When loading html content from a db. to a radEditor, the radEditor changes  some of the html tags. For example, the <param name="movie"> for a flash file is changed to <p aram=""movie>.I also have some (Commerce Server) Server tags that are changed in a anoying manner. For example <uc: something/> is changed to <uc: something/> </uc:something> which is a serious error because it generates a 500  error on our web site.

Does anyone know how to ' tell 'radEditor to not change the html content ? Thanks


2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 30 Oct 2008, 04:13 PM
Hi Ivan,

I made a test with the Save In Database example of RadEditor and I was not able to reproduce the reported problems.

My test showed that the

<param name="Movie" value="/aspnet/prometheus/Editor/Img/UserDir/Marketing/ASP Overivewpage banner.swf">

was not changed at all.

The <uc:something/> custom tag is changed by the browser to <uc:something></uc:something>, but not to
<uc:something/> </uc:something>. This is a browser behavior not controlled by RadEditor and you can reproduce it with an editable DIV or IFRAME elements. For your convenience I have attached a sample html page having an editable IFRAME in it for test.

If you do not like this browser behavior, our suggestion is to replace the <uc:something></uc:something> tag on the server using the String.Replace method.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ivan
Top achievements
Rank 1
answered on 03 Nov 2008, 07:58 AM
Thanks for your reply.
Tags
Editor
Asked by
Ivan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or