From 44aff46c69f5a6faf0960891481c5295d70d940a Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Mon, 28 Jul 2008 11:50:09 +0545 Subject: [PATCH] Rename PageFormatter to WikiFormatter --- geekigeeki.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geekigeeki.py b/geekigeeki.py index 0607006..a81ac72 100755 --- a/geekigeeki.py +++ b/geekigeeki.py @@ -264,7 +264,7 @@ def send_footer(name, mod_string=None): print '

last modified %s

' % mod_string print '' -class PageFormatter: +class WikiFormatter: """Object that turns Wiki markup into HTML. All formatting commands can be parsed one line at a time, though @@ -603,7 +603,7 @@ class Page: def send_naked(self): if self.can_read(): - PageFormatter(self.get_raw_body()).print_html() + WikiFormatter(self.get_raw_body()).print_html() else: send_guru("Read access denied by ACLs", "notice") @@ -659,7 +659,7 @@ class Page: print "

" + Page('EditingTips').link_to() + "

" if preview: print "
" - PageFormatter(preview).print_html() + WikiFormatter(preview).print_html() print "
" send_footer(self.page_name) -- 2.25.1