Edgewall Software

Ticket #462: HTMLFormFiller-email-tel.patch

File HTMLFormFiller-email-tel.patch, 726 bytes (added by erik.swanson@…, 12 years ago)

Make HTMLFormFiller handle 'email' and 'tel' inputs.

  • genshi/filters/html.py

     
    114114                                    attrs |= [(QName('checked'), 'checked')]
    115115                                elif 'checked' in attrs:
    116116                                    attrs -= 'checked'
    117                         elif type in ('', 'hidden', 'text') \
     117                        elif type in ('', 'hidden', 'text', 'email', 'tel') \
    118118                                or type == 'password' and self.passwords:
    119119                            name = attrs.get('name')
    120120                            if name and name in self.data: