From 33bd7fb6af6579b910100f7f5c17f3084cf17022 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 19 Aug 2005 20:24:08 +0000 Subject: fix html bug and improve bad link string git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@140 86f53f14-5ff3-0310-afe5-9b438ce3f40c --- plugins/badlinks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/badlinks.py') diff --git a/plugins/badlinks.py b/plugins/badlinks.py index ab4e8ff..ea675e4 100644 --- a/plugins/badlinks.py +++ b/plugins/badlinks.py @@ -50,13 +50,14 @@ def generate(fp,site): fp.write( '
  • %(problem)s
  • \n' \ % { 'problem': xml.sax.saxutils.escape(problem) }) + fp.write( + ' \n') # present a list of parents link.parents.sort() plugins.print_parents(fp,link,' ') # add a reference to the problem map for parent in link.parents: - parent.add_pageproblem("Bad Link: " + link.url) + parent.add_pageproblem("bad link: " + link.url) fp.write( - ' \n' \ ' \n') fp.write(' \n') -- cgit v1.2.3