I am using RadEditor as part of sitecore 8.2 I have used the following Editor.DisableFilter(EditorFilters.ConvertToXhtml); this works great if i type into the editor but if i use a code snippet the html is changed below is the example html i am using
This works fine if pasted into the html tab
<
a
href
=
"#"
>
<
h3
>Title of Section</
h3
>
<
p
>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </
p
>
</
a
>