def author_html(author, link):
    """
    Create HTML anchor tag for author with correct link to ADSABS

    Inputs
    ------
    author : str
      Name of the author(s)
    link : str
      Link to article

    Output
    ------
    alink : str
      Author anchor tag to link
    """
    if (',' in author) and (',' in link):
        authors = author.split(',')
        links = link.split(',')
        alinks = []
        for author, link in zip(authors, links):
            alinks.append('<a target="_blank" href="{}">{}</a>'.format(link.strip(), author.strip()))
        alink = ', '.join(alinks)
    else:
        alink = '<a target="_blank" href="{}">{}</a>'.format(link, author)
    return alink