public void BRJavascriptIncludeXSSTest()
{
// Arrange
DefaultHtmlSanitizer target = new DefaultHtmlSanitizer();
Dictionary<string, string[]> elementWhiteList = CreateElementWhiteList();
// Act
string htmlFragment = "<BR SIZE=\"&{alert('XSS')}\">";
string actual = target.GetSafeHtmlFragment(htmlFragment, elementWhiteList);
// Assert
string expected = "<BR>";
StringAssert.AreEqualIgnoringCase(expected, actual);
}