RST syntax validation

def clean_restructuredtext(form_instance, content):
    """
    RST syntax validation
    """
    if content:
        errors = SourceReporter(content)
        if errors:
            raise ValidationError(map(map_parsing_errors, errors))
    return content