Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

EnableSanitization removes all of the formatting

$
0
0

I am using HtmlEditorExtender latest version

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx

I also enabled Sanitization

Here my webconfig

<sanitizer defaultProvider="HtmlAgilityPackSanitizerProvider"><providers><add name="HtmlAgilityPackSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider"/></providers></sanitizer>

But it even removes

<br>

and it breaks whole formatting

What is the proper way of doing this ?

thank you

asp.net 4.5 c# 4.5

it is supposed to remove only dangerous things



Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>