diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2005-08-19 22:24:08 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2005-08-19 22:24:08 +0200 |
commit | 33bd7fb6af6579b910100f7f5c17f3084cf17022 (patch) | |
tree | 18b88fa0486248a51600d80322699e6ac9223d83 /plugins/badlinks.py | |
parent | 95e7d8fe40b2296a3bcfb1b205c34b210ec9335d (diff) |
fix html bug and improve bad link string
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@140 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'plugins/badlinks.py')
-rw-r--r-- | plugins/badlinks.py | 5 |
1 files changed, 3 insertions, 2 deletions
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( ' <li>%(problem)s</li>\n' \ % { 'problem': xml.sax.saxutils.escape(problem) }) + fp.write( + ' </ul>\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( - ' </ul>\n' \ ' </li>\n') fp.write(' </ol>\n') |