Commit 301c58f6 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

dumb error

parent e7baf841f67a
......@@ -25,8 +25,7 @@ class PersonPrimaryView(primary.PrimaryView):
__select__ = implements('Person')
def render_entity_title(self, entity):
title = xml_escape(entity.dc_title())
self.w(u'<h1>%s</h1>' %
self.w(u'<h1>%s</h1>' % xml_escape(
def render_entity_attributes(self, entity):
if getattr(entity, 'phone', None):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment