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

tille at alioth.debian.org tille at alioth.debian.org
Fri Feb 15 22:09:18 UTC 2008


Author: tille
Date: 2008-02-15 22:09:18 +0000 (Fri, 15 Feb 2008)
New Revision: 1387

Modified:
   trunk/community/infrastructure/test/cddtasktools.py
Log:
Enable '?' and '=' in URLs


Modified: trunk/community/infrastructure/test/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/test/cddtasktools.py	2008-02-15 21:26:49 UTC (rev 1386)
+++ trunk/community/infrastructure/test/cddtasktools.py	2008-02-15 22:09:18 UTC (rev 1387)
@@ -59,7 +59,7 @@
         else:
             # This is to sanitize output for XHTML pages. --David
             line = line.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;") + ' \n'
-            LongDesc += re.sub('(http://[-./\w]+)', '<a href="\\1">\\1</a>', line)
+            LongDesc += re.sub('(http://[-./\w?=]+)', '<a href="\\1">\\1</a>', line)
     return (ShortDesc, LongDesc)
 
 




More information about the debian-med-commit mailing list