def linkify(links_list):
    """
    Method to convert a list of links into user friendly html <a> tags
    :param links_list: List of links
    :return: HTML list of links
    """
    if not len(links_list):
        return ''
    flist = []
    html_link = (
        '<span class="text-dark chip"><i class="icon icon-link"> </i>&nbsp; <a href="%(href)s" target="_blank">%(text)s</a></span>'
        )
    for link in links_list:
        if 'nvd.nist.gov' in link:
            flist.append(html_link % dict(href=link, text='CVE'))
        elif 'shiftleft' in link:
            flist.append(html_link % dict(href=link, text='ShiftLeft Advisory')
                )
        elif 'github.com/advisories' in link:
            flist.append(html_link % dict(href=link, text='GitHub Advisory'))
        elif 'github.com' in link:
            flist.append(html_link % dict(href=link, text='GitHub'))
        else:
            flist.append(html_link % dict(href=link, text=link))
    return '<br/>'.join(flist)
