def allow_attrs_for_a(tag, name, value):
    """
    allow data-* attributes
    """
    if name.startswith('data-'):
        return True
    if name in ['href', 'target', 'title', 'rel', 'class', ]:
        return True