Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/plugins/about.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-04-23 16:52:12 +0200
committerArthur de Jong <arthur@arthurdejong.org>2006-04-23 16:52:12 +0200
commitff92fdc32c295ae0c329f56e990843459ee57469 (patch)
treeda4982793ec0bd944dde8719e383597e62f41d78 /plugins/about.py
parent83437235d294edc6db53aa10cd673594296f5f54 (diff)
rename escape() function to htmlescape() to make it a little clearer what we're escaping
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@243 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'plugins/about.py')
-rw-r--r--plugins/about.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/about.py b/plugins/about.py
index 1b18158..46f6c71 100644
--- a/plugins/about.py
+++ b/plugins/about.py
@@ -53,8 +53,8 @@ def generate(site):
' This report was generated on %(time)s, a total of %(numurls)d\n'
' links were found.\n'
' </p>\n\n'
- % { 'version': plugins.escape(config.VERSION),
- 'time': plugins.escape(time.ctime(time.time())),
+ % { 'version': plugins.htmlescape(config.VERSION),
+ 'time': plugins.htmlescape(time.ctime(time.time())),
'numurls': len(site.linkMap),
'homepage': config.HOMEPAGE } )
# output copyright information
@@ -102,9 +102,9 @@ def generate(site):
fp.write(
' <li>\n'
' <strong>%s</strong><br />\n'
- % plugins.escape(report.__title__) )
+ % plugins.htmlescape(report.__title__) )
if hasattr(report, '__doc__'):
- fp.write(' %s<br />\n' % plugins.escape(report.__doc__))
+ fp.write(' %s<br />\n' % plugins.htmlescape(report.__doc__))
fp.write(' </li>\n')
fp.write(
' </ul>\n' )