code: def render(self, *args, **kwargs):
          
          if not self.childs and "href" in self.attrs:
              return self.clone()(self.attrs["href"]).render(*args, **kwargs)
          return super().render(*args, **kwargs)
docs: Override of the rendering so that if the link have no text in it, the href is used inside the <a> tag