From c1e498c0e251f48d68996ddf05ecb39981361c86 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 29 Dec 2015 13:26:41 +0100 Subject: [PATCH] Make homepage URLs (nofollow) links. Signed-off-by: Chris Lamb --- dak/examine_package.py | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.5