

def build_hyperlink(el, meta_data):
    r_namespace = get_namespace(el, 'r')
    hyperlink_id = el.get(('%sid' % r_namespace))
    content = get_element_content(el, meta_data, remove_bold=True, remove_italics=True)
    if (not content):
        return ''
    if (hyperlink_id in meta_data.relationship_dict):
        href = meta_data.relationship_dict[hyperlink_id]
        return ('<a href="%s">%s</a>' % (hyperlink_id, content))
    return ''

dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py build_hyperlink/VarMisuse@88/138 `href`->`hyperlink_id`