If run HtmlAgilityPackSanitizerProvider with tag "br" in white list throws an exception. (Because tag.Value in BR tag is NULL)
To resolve this error need to check if null in attributes.
After
foreach (HtmlAttribute a in attr)
{
Add
if(tag.Value == null)
continue;
Comments: In the current v15.1 release of Ajax Control Toolkit, we got rid of this code.
To resolve this error need to check if null in attributes.
After
foreach (HtmlAttribute a in attr)
{
Add
if(tag.Value == null)
continue;
Comments: In the current v15.1 release of Ajax Control Toolkit, we got rid of this code.