[Zope-Checkins] CVS: Zope/lib/python/StructuredText - DocumentClass.py:1.22.2.11 HTMLClass.py:1.11.4.2 STletters.py:1.2.10.5

Andreas Jung andreas@zope.com
Thu, 18 Oct 2001 16:04:46 -0400


Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv10644

Modified Files:
      Tag: Zope-2_4-branch
	DocumentClass.py HTMLClass.py STletters.py 
Log Message:
-backport of new testsuite from trunk
-fixed handling of __literals__ with underlines
-handling wrong handling of underlines 


=== Zope/lib/python/StructuredText/DocumentClass.py 1.22.2.10 => 1.22.2.11 ===
         'doc_underline',
         'doc_literal',
+        'doc_underline',
         'doc_sgml',
         'doc_xref',
         ]


=== Zope/lib/python/StructuredText/HTMLClass.py 1.11.4.1 => 1.11.4.2 ===
 
     def _text(self, doc, level, output):
-        output(doc.getNodeValue())
+        output((doc.getNodeValue()))
 
     def document(self, doc, level, output):
         children=doc.getChildNodes()


=== Zope/lib/python/StructuredText/STletters.py 1.2.10.4 => 1.2.10.5 ===
 dbl_quoted_punc = punc_func("\"")
 strongem_punc = punc_func('*')
-under_punc = punc_func('_')
+under_punc = punc_func('_<>')
 phrase_delimiters = r'\s\.\,\?\/\!\&\(\)'