[CMF-checkins] CVS: CMF/CMFCore - TextFilters.py:1.1.2.3

Tres Seaver tseaver@zope.com
Wed, 19 Dec 2001 21:36:27 -0500


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv17507

Modified Files:
      Tag: tseaver-texthandler-branch
	TextFilters.py 
Log Message:
 - Add more tests;  handle empty text in ParagraphInserter.

=== CMF/CMFCore/TextFilters.py 1.1.2.2 => 1.1.2.3 ===
                 graph = graph[ :-1 ]
 
+            if not graph:
+                continue
+
             graph = '<p>%s</p>' % graph
             graphs.append( graph )