'Autolink urls in text nodes that aren\'t already linked (inside anchor tags).'

def autolink_soup(self, soup):

    def _autolink(node):
        if isinstance(node, basestring):
            text = node
            text2 = urlize(text, nofollow=self.nofollow)
            if (text != text2):
                node.replaceWith(text2)
        else:
            if (node.name == 'a'):
                return
            for child in node.contents:
                _autolink(child)
    _autolink(soup)
