'Check that microdom does its best to handle broken attribute names.
The important thing is that it doesn\'t raise an exception.'

def test_brokenAttributeName(self):

    input = '<body><h1><div    al!\n    ign="center">Foo</div></h1></body>'
    expected = '<body><h1><div    al="True"    ign="center">Foo</div></h1></body>'
    self.checkParsed(input, expected)
