From 98b88de6f2975a263f7564025e46f9ca93bb4350 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Thu, 19 Jan 2006 21:35:24 +0000 Subject: also escape the URL when generating links git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@216 86f53f14-5ff3-0310-afe5-9b438ce3f40c --- plugins/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/__init__.py') diff --git a/plugins/__init__.py b/plugins/__init__.py index d215e8a..60e3ca7 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -3,7 +3,7 @@ # # Copyright (C) 1998, 1999 Albert Hopkins (marduk) # Copyright (C) 2002 Mike W. Meyer -# Copyright (C) 2005 Arthur de Jong +# Copyright (C) 2005, 2006 Arthur de Jong # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -136,7 +136,7 @@ def make_link(link,title=None): if config.REPORT_LINKS_IN_NEW_WINDOW: target='target="_blank" ' # gather some information about the link to report - return ''+escape(title)+'' + return ''+escape(title)+'' def print_parents(fp,link,indent=' '): # present a list of parents -- cgit v1.2.3