I am using HtmlEditorExtender latest versionhttp://www.asp.net/ajaxLibrary/Ajax...te/HTMLEditorExtender/HTMLEditorExtender.aspxI also enabled SanitizationHere my webconfig\[code\]<sanitizer defaultProvider="HtmlAgilityPackSanitizerProvider"> <providers> <add name="HtmlAgilityPackSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider"/> </providers></sanitizer>\[/code\]But it even removes \[code\]<br>\[/code\] and it breaks whole formattingWhat is the proper way of doing this ?thank youasp.net 4.5 c# 4.5it is supposed to remove only dangerous things