Seach engine wasn't enough for information about shape of dictionary parameters of
AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider sanitizer =
new AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider();
textBoxPublicInput.Text =
sanitizer.GetSafeHtmlFragment(
textBoxPublicInput.Text,aDictionary,anotherDictionary
);
What must I put in the aDictionary and anotherDictionary parameters? What must the elements be? I see it needs a string to array of string dictionary but which strings? What are the rules?
Lets assume trusted tags are < a >, < p >, < div > and < ul >- < li > only. Main intention is to protect site against injections because of the html editor extender.
Thanks for your time.