def skips_empty_data(method):
    """
    Decorator which allows data handlers to skip empty data.
    """
    @wraps(method)
    def wrapper(parser_instance, data):
        if data.strip():
            return method(parser_instance, data)
    return wrapper

    Decorator which allows data handlers to skip empty data.
    
recipes/Python/578787_Pretty_and_Stated_HTMLParsers/recipe-578787.py