From: Chris Lamb Date: Tue, 29 Dec 2015 12:26:41 +0000 (+0100) Subject: Make homepage URLs (nofollow) links. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c1e498c0e251f48d68996ddf05ecb39981361c86;p=dak.git Make homepage URLs (nofollow) links. Signed-off-by: Chris Lamb --- diff --git a/dak/examine_package.py b/dak/examine_package.py index 63ee8af5..4b315ded 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -444,6 +444,11 @@ def output_deb_info(suite, filename, packagename, session = None): field_value = arch elif key == 'Maintainer': field_value = maintainer + elif key == 'Homepage': + field_value = escape_if_needed(control.find(key)) + if use_html: + field_value = '%s' % \ + (field_value, field_value) elif key == 'Description': if use_html: field_value = formatted_text(control.find(key), strip=True)