[Zope3-checkins] CVS: Zope3/src/zope/app/renderer - rest.py:1.8
Fred L. Drake, Jr.
fred at zope.com
Sat Apr 3 02:26:10 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/renderer
In directory cvs.zope.org:/tmp/cvs-serv7747/src/zope/app/renderer
Modified Files:
rest.py
Log Message:
add a comment
=== Zope3/src/zope/app/renderer/rest.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/renderer/rest.py:1.7 Fri Mar 19 15:26:32 2004
+++ Zope3/src/zope/app/renderer/rest.py Sat Apr 3 02:26:10 2004
@@ -94,6 +94,7 @@
This is where we join the document parts that we want in
the output.
"""
+ # use the title, subtitle, author, date, etc., plus the content
body = self.body_pre_docinfo + self.docinfo + self.body
return u"".join(body)
@@ -111,8 +112,8 @@
self.section_level += (self.settings.base_section - 1)
HTMLTranslator.visit_title(self, node)
self.section_level -= (self.settings.base_section - 1)
-
-
+
+
class ReStructuredTextToHTMLRenderer(BrowserView):
r"""An Adapter to convert from Restructured Text to HTML.
More information about the Zope3-Checkins
mailing list