@library.filter
def public_email(email):
 return Markup(('<span class="email">%s</span>' % unicode_to_html(email)))

@ library . filter def public_email ( email ) : return Markup ( ( '<span class="email">%s</span>' % unicode_to_html ( email ) ) )
email address -> publicly displayable email .