From 71a21b507e0c07ccf233baff9aa2e4d0a564fef8 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Thu, 11 Mar 2010 07:14:54 +0000 Subject: [PATCH] Cleaned up display_url_list(). svn: r14749 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 0768c4cc5..e952a8111 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -1435,21 +1435,21 @@ class BasePage(object): if not uri.startswith("mailto:"): list += Html("a",descr, href = 'mailto: %s' % uri) else: - list += Html("a", descr, href = "%s" % uri) + list += Html("a", descr, href = uri) # Web Site address elif _type == UrlType.WEB_HOME: if not uri.startswith("http://"): list += Html("a", descr, href = 'http://%s' % uri) else: - list += Html("a", href = "%s" % uri) + list += Html("a", href = uri) # FTP server address elif _type == UrlType.WEB_FTP: if not uri.startswith("ftp://"): list += Html("a", descr, href = 'ftp://%s' % uri) else: - list += Html("a", drscr, href = "%s" % uri) + list += Html("a", drscr, href = uri) # custom type else: