[Commits] python.it commit r162 - admin/trunk/scripts

commit a svn.python.it commit a svn.python.it
Sab 27 Maggio 2006 23:22:19 CEST


Author: manlio
Date: Sat May 27 23:22:18 2006
New Revision: 162

Modified:
   admin/trunk/scripts/blockutils.py
Log:
corretto pattern per paragrafi TeX

Modified: admin/trunk/scripts/blockutils.py
==============================================================================
--- admin/trunk/scripts/blockutils.py	(original)
+++ admin/trunk/scripts/blockutils.py	Sat May 27 23:22:18 2006
@@ -49,7 +49,7 @@
     global _mode, _blockPattern, _startComment, _endComment
 
     _blocks = {
-        'tex': re.compile(r"^\n+", re.MULTILINE),
+        'tex': re.compile(r"^(\s*\n)+", re.MULTILINE),
         'rst': re.compile(r"^\n+", re.MULTILINE),
         'xml': re.compile(r"<[^/>]*>"),
         'xhtml': re.compile(r"<p.*?>"),


More information about the Commits mailing list