From ff92fdc32c295ae0c329f56e990843459ee57469 Mon Sep 17 00:00:00 2001
From: Arthur de Jong
Date: Sun, 23 Apr 2006 14:52:12 +0000
Subject: 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
---
plugins/about.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'plugins/about.py')
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'
'
\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(
' \n'
' %s
\n'
- % plugins.escape(report.__title__) )
+ % plugins.htmlescape(report.__title__) )
if hasattr(report, '__doc__'):
- fp.write(' %s
\n' % plugins.escape(report.__doc__))
+ fp.write(' %s
\n' % plugins.htmlescape(report.__doc__))
fp.write(' \n')
fp.write(
' \n' )
--
cgit v1.2.3