def item_location_tags(ptree, location):
    """Return a tags at item location

    Parameters
    ----------
    ptree : PageTree
    location : ItemLocation

    Returns
    -------
    List[HtmlTag]
    """
    last = location[-1]
    end = max(last + 1, ptree.match[last])
    if end >= len(ptree.index):
        end = ptree.index[-1]
    else:
        end = ptree.index[end]
    tags = ptree.page.parsed_body[ptree.index[location[0]]:end]
    return tags