public void DivStyleWithBrokenExpression()
{
// Arrange
DefaultHtmlSanitizer target = new DefaultHtmlSanitizer();
Dictionary<string, string[]> elementWhiteList = CreateElementWhiteList();
// Act
string htmlFragment = "<div STYLE=\"background-color:expre/* x*/ssion(alert(window.location))\">";
string actual = target.GetSafeHtmlFragment(htmlFragment, elementWhiteList);
// Assert
string expected = "<div style=\"background-color:(alert(window.location))\"></div>";
StringAssert.AreEqualIgnoringCase(expected, actual);
}