Wrap footer elements in tags

This commit is contained in:
Sajith Sasidharan 2020-05-01 16:50:30 -04:00
parent 029c99a241
commit df188c75df

View File

@ -581,12 +581,12 @@ class RootElement(Element):
@renderer
def rendered_at(self, req, tag):
return render_time(time.time())
return tag(render_time(time.time()))
@renderer
def version(self, req, tag):
return get_package_versions_string()
return tag(get_package_versions_string())
@renderer
def import_path(self, req, tag):
return str(allmydata)
return tag(str(allmydata))