def _built_toolbar_buttons(start, meta):
    """Built the toolbar buttons with icon/text as link/label.

    Each toolbar button needs to be rendered using the unicode icon character
    or a text label for those who don't like icons. If enabled each button is
    attached to a <a> link.

    Arguments:
        start (int):
            First line of the current hunk.
        meta (dict):
            The dictionay containing additional hunk information.

    Returns:
        dict: The dictionay with all buttons where `key` is used as `href`
            and value as link caption.

            active icon button: <a href="revert"><symbol>⟲</symbol></a>
            active text button: <a href="revert"><text>(revert)</text></a>
            inactive icon button: <symbol>⟲</symbol>
            inactive text button: <text>(revert)</text>
    """
    # The format to render disabled/enabled buttons
    button_format = (
        '<symbol>{0}</symbol>',
        '<a href="{1}"><symbol>{0}</symbol></a>'
    )
    # The buttons as a map from the href to the caption/icon
    button_caption = {
        'hide': '×',
        'copy': '⎘',
        'revert': '⟲',
        'disable_hl_diff': '≉',
        'enable_hl_diff': '≈',
        'first_change': '⤒',
        'prev_change': '↑',
        'next_change': '↓'
    }
    return {
        key: button_format[
            not key.endswith('_change') or meta.get(key, start) != start
        ].format(value, key) for key, value in button_caption.items()
    }