Fix bug in parsing of HTML attributes

e.g. <foo bar baz>.  (D'oh.)