[Zope-Checkins] CVS: Zope2 - StructuredText.py:1.40

chrism@serenade.digicool.com chrism@serenade.digicool.com
Thu, 14 Jun 2001 10:12:27 -0400


Update of /cvs-repository/Zope2/lib/python/StructuredText
In directory serenade:/home/chrism/BackTalk/lib/python/StructuredText

Modified Files:
	StructuredText.py 
Log Message:
This is the compatibility module to make StructuredTextNG "look like" Classic Structured Text.  I was stupid earlier before and used "ClassicDocumentClass" to represent a Document.  This was failing in some cases when attemtping to use a "ClassicDocument" as input to a StructuredTextNG HTML renderer.  To fix: Use DocumentClass instead of ClassicDocumentClass.



--- Updated File StructuredText.py in package Zope2 --
--- StructuredText.py	2001/04/28 06:08:26	1.39
+++ StructuredText.py	2001/06/14 14:12:27	1.40
@@ -93,7 +93,7 @@
 import re, string,sys
 from STletters import letters
 
-Document = ClassicDocumentClass.DocumentClass()
+Document = DocumentClass.DocumentClass()
 HTMLNG = HTMLClass.HTMLClass()
 
 def HTML(aStructuredString, level=0):