[med-svn] r1355 - trunk/community/infrastructure/test
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Mon Feb 11 10:10:44 UTC 2008
Author: hanska-guest
Date: 2008-02-11 10:10:43 +0000 (Mon, 11 Feb 2008)
New Revision: 1355
Modified:
trunk/community/infrastructure/test/cddtasktools.py
Log:
Sanitize output for XHTML web pages.
Modified: trunk/community/infrastructure/test/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/test/cddtasktools.py 2008-02-11 10:07:13 UTC (rev 1354)
+++ trunk/community/infrastructure/test/cddtasktools.py 2008-02-11 10:10:43 UTC (rev 1355)
@@ -52,6 +52,8 @@
LongDesc = ''
for line in lines[1:]:
LongDesc += line.strip() + '\n'
+ # This is to sanitize output for XHTML pages. --David
+ LongDesc = LongDesc.replace("<", "<").replace(">", ">")
return (ShortDesc, LongDesc)
More information about the debian-med-commit
mailing list