'Handler for textarea end tag'

def _handle_textarea_tag_end(self, tag):

    SGMLParser._handle_textarea_tag_end(self, tag)
    if (not self._text_area_tag_name):
        return
    if (not self._text_area_data):
        return
    attrs = {'name': self._text_area_tag_name, 'value': self._text_area_data, 'type': INPUT_TYPE_TEXTAREA}
    if (not self._forms):
        self._saved_inputs.append(attrs)
    else:
        form_params = self._forms[(-1)]
        form_params.add_field_by_attrs(attrs)
    self._text_area_tag_name = None
    self._text_area_data = None
