print '<p class="modified">last modified %s</p>' % mod_string
print '</div></body></html>'
-class PageFormatter:
+class WikiFormatter:
"""Object that turns Wiki markup into HTML.
All formatting commands can be parsed one line at a time, though
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")
print "<p>" + Page('EditingTips').link_to() + "</p>"
if preview:
print "<div class='preview'>"
- PageFormatter(preview).print_html()
+ WikiFormatter(preview).print_html()
print "</div>"
send_footer(self.page_name)