fixed HTML parsing of uppercase attributes (fixes issue #21)