def METHOD_NAME(self, tag, attrs):
    attrs = dict(attrs)
    if tag == "br":
        self.__curr_block.append("\n")
    if tag == "img" and attrs.get("alt"):
        self.__curr_block.append(attrs.get("src", ""))
    if tag in self.BLOCK_TAGS and self.__curr_block:
        self.__append_current_block()
    if tag == "ol":
        self.__counters.append(self.__make_ordered_counter(attrs.get("type", "1")))
    elif tag == "ul":
        self.__counters.append(self.__make_unordered_counter())
    elif tag == "a":
        self.__show_href_only = "data-jf-show-href-only-in-plaintext" in attrs
        if self.__show_href_only:
            self.__capture = False
        self.__href = attrs.get("href", "")
    elif tag in self.IGNORE_TAGS:
        self.__capture = False