def get_format_icon(term):
    """Custom method returns an img tag with URL to bundled Pinax Silk icon
    set."""
    if FORMAT_ICONS.has_key(term):
        return mark_safe(FORMAT_ICONS[term])
    else:
        return ''
def get_format_icon(term):
    """Custom method returns an img tag with URL to bundled Pinax Silk icon
    set.

    :param term: Term of format
    :rtype: String with URL to image 
    """
    if FORMAT_ICONS.has_key(term):
        return mark_safe(FORMAT_ICONS[term])
    else:
        return ''