code: def _handle_tag_space(self, data, text):
          
          ctx = data.context
          end_of_value = ctx & data.CX_ATTR_VALUE and not ctx & (data.CX_QUOTED | data.CX_NOTE_QUOTE)
          if end_of_value or (ctx & data.CX_QUOTED and ctx & data.CX_NOTE_SPACE):
              self._push_tag_buffer(data)
              data.context = data.CX_ATTR_READY
          elif ctx & data.CX_NOTE_SPACE:
              data.context = data.CX_ATTR_READY
          elif ctx & data.CX_ATTR_NAME:
              data.context |= data.CX_NOTE_EQUALS
              data.padding_buffer["before_eq"] += text
          if ctx & data.CX_QUOTED and not ctx & data.CX_NOTE_SPACE:
              self._emit_text(text)
          elif data.context & data.CX_ATTR_READY:
              data.padding_buffer["first"] += text
          elif data.context & data.CX_ATTR_VALUE:
              data.padding_buffer["after_eq"] += text
docs: Handle whitespace (*text*) inside of an HTML open tag.