formencode_jinja2/formfill.py
def default_formatter(error):
    """Escape the error, and wrap it in a span with class ``error-message``"""
    quoted = formencode.htmlfill.escape_formatter(error)
    return u'<span class="error-message">{0}</span>'.format(quoted)
def default_formatter(error):
    quoted = formencode.htmlfill.escape_formatter(error)
    return u'<span class="error-message">{0}</span>'.format(quoted)
def default_formatter ( error ) : quoted = formencode . htmlfill . escape_formatter ( error ) return u'<span class="error-message">{0}</span>' . format ( quoted )
Escape the error, and wrap it in a span with class ``error-message``
Escape the error and wrap it in a span with class error - message