summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
134d4e8)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2682
<%!
def jquote(string):
return "'" + string.replace('\\', '\\\\').replace("'", "\\'").replace('\n', '\\n') + "'"
<%!
def jquote(string):
return "'" + string.replace('\\', '\\\\').replace("'", "\\'").replace('\n', '\\n') + "'"
+
+def nl2br(string):
+ return string.replace('\n', '<br/>')
%>
<%def name="helppopup(subj)">
%>
<%def name="helppopup(subj)">
- <td colspan="7" style="padding-left: 1em; color: #666">${machine.description}</td>
+ <td colspan="7" style="padding-left: 1em; color: #666">${machine.description|self.fn.module.nl2br}</td>