Bugfix: Attributes are case-insensitive in HTML

Fixes #82
Added test that fails before fix