Add input[type="email"] support

Added input[type="email"] support and changed spaces to tabs in some
places