Don't break if no attribute value

Fixes the transformation of things like `<button disabled>`.