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

RadEditor adding in extra <p> tags

1 Answer 68 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jamie
Top achievements
Rank 1
Jamie asked on 16 Sep 2010, 07:12 PM
I am having a problem similar to the one on this thread http://www.telerik.com/community/forums/aspnet-ajax/editor/mossradeditor-adding-extra-lt-p-gt-tags.aspx

I understand that this has to do with modifying the html view with code that is not well formatted to work with the rad editor which results in it adding in these extra <p> tags. However, the only solution to this problem on that thread is to modify some file that I don't have. 

I want to know if:
1.) There is a way to format my html in the html view to prevent this from happening, what should I do to prevent this?
2.) Is there another way to disable the xhtml stuff that is causing the problem referenced in the post I linked to above?


Thanks,

-Jamie

1 Answer, 1 is accepted

Sort by
0
Jamie
Top achievements
Rank 1
answered on 16 Sep 2010, 09:42 PM
Nevermind, I found that using the W3C checker to find the errors in the XHTML solved the problem. Once you correct everything in there it stops generating the extra <p> tags.
Tags
Editor
Asked by
Jamie
Top achievements
Rank 1
Answers by
Jamie
Top achievements
Rank 1
Share this question
or