def set_feed_function(func_name, sub_func, what):
    """
    Return the function html formatting as per func_name
    Args:
        String: Label, name of function
        String: Instrument symbol or sub function
        String: label = display label. value = for use in the column.
    Returns:
        String: html for function label
    """
    ret = ''
    if what == 'label':
        function_label = '<span class="btn btn-outline-info">'+ str(func_name) +' </span>'
        if sub_func != '':
            sub_func_label = '<span class="btn btn-outline-info">'+ str(sub_func) +' </span>'
        else:
            sub_func_label = ''
        ret = sub_func_label + function_label + '&nbsp;&nbsp;'
    else:
        ret = sub_func + ' ' + func_name
        
    return ret