Allow tag attributes with '-' inside

At the moment only attributes with chars/numbers and underscores are possible but html5 data attributes could have a '-' inside.