Index: package_branches/invirt-web/cherrypy-rebased/code/templates/functions.mako
===================================================================
--- package_branches/invirt-web/cherrypy-rebased/code/templates/functions.mako (revision 2681)
+++ package_branches/invirt-web/cherrypy-rebased/code/templates/functions.mako (revision 2682)
@@ -44,4 +44,7 @@
def jquote(string):
return "'" + string.replace('\\', '\\\\').replace("'", "\\'").replace('\n', '\\n') + "'"
+
+def nl2br(string):
+ return string.replace('\n', '
')
%>
Index: package_branches/invirt-web/cherrypy-rebased/code/templates/list.mako
===================================================================
--- package_branches/invirt-web/cherrypy-rebased/code/templates/list.mako (revision 2681)
+++ package_branches/invirt-web/cherrypy-rebased/code/templates/list.mako (revision 2682)
@@ -121,5 +121,5 @@