Commit 1d6e1c3a authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

backport sand fix

--HG--
branch : stable
......@@ -168,7 +168,7 @@ class RegistryView(StartupView):
keys = sorted(self.vreg)
self.w(u'<p>%s</p>' % ' - '.join('<a href="/_registry#%s">%s</a>' % (key, key) for key in keys))
for key in keys:
self.w(u'<a name="%s"><h2>%s</h2></a><table>' % (key,key))
self.w(u'<h2><a name="%s">%s</a></h2><table>' % (key,key))
for key, value in sorted(self.vreg[key].items()):
self.w(u'<tr><td>%s</td><td>%s</td></tr>' % (key, xml_escape(repr(value))))
self.w(u'</table>')
......
Markdown is supported
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