[med-svn] r1356 - trunk/community/infrastructure/test

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Mon Feb 11 10:16:59 UTC 2008


Author: hanska-guest
Date: 2008-02-11 10:16:58 +0000 (Mon, 11 Feb 2008)
New Revision: 1356

Modified:
   trunk/community/infrastructure/test/cddtasktools.py
Log:
Add some more replace()s :)


Modified: trunk/community/infrastructure/test/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/test/cddtasktools.py	2008-02-11 10:10:43 UTC (rev 1355)
+++ trunk/community/infrastructure/test/cddtasktools.py	2008-02-11 10:16:58 UTC (rev 1356)
@@ -54,6 +54,7 @@
         LongDesc += line.strip() + '\n'
     # This is to sanitize output for XHTML pages. --David
     LongDesc = LongDesc.replace("<", "&lt;").replace(">", "&gt;")
+    LongDesc = LongDesc.replace("\n .\n", "<br /><br />").replace("\n", "")
     return (ShortDesc, LongDesc)
 
 




More information about the debian-med-commit mailing list