code: def iter_links_element_text(cls, element):
          '''Get the element text as a link.'''
          if element.text:
              link_type = identify_link_type(element.text)
              yield LinkInfo(
                  element=element, tag=element.tag, attrib=None,
                  link=element.text,
                  inline=False, linked=True,
                  base_link=None,
                  value_type='plain',
                  link_type=link_type
              f iter_links_element_text(cls, element):
          '''Get the element text as a link.'''
          if element.text:
              link_type = identify_link_type(element.text)
              yield LinkInfo(
                  element=element, tag=element.tag, attrib=None,
                  link=element.text,
                  inline=False, linked=True,
                  base_link=None,
                  value_type='plain',
                  link_type=link_type
              )
docs: Get the element text as a link.