def rendernote(self, note): if note: return '<strong class="wrong">%s</strong>' % net.websafe(note) else: return ""