Translate newlines to break tags in the machine description.
[invirt/packages/invirt-web.git] / code / templates / list.mako
index e500896..71afd55 100644 (file)
@@ -120,7 +120,7 @@ ${has_vnc[machine]}
 </td>
       </tr>
       <tr>
-        <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>
       </tr>
 </%def>