Epoz/Extensions EpozPostTidy.py,1.8,1.9
Maik Jablonski <[email protected]>
| Newsgroups | gmane.comp.web.zope.epoz |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/epoz/Epoz/Extensions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2185/Extensions
Modified Files:
EpozPostTidy.py
Log Message:
EpozPostTidy eats up HTML-comments....
Index: EpozPostTidy.py
===================================================================
RCS file: /cvsroot/epoz/Epoz/Extensions/EpozPostTidy.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** EpozPostTidy.py 25 Nov 2004 09:58:23 -0000 1.8
--- EpozPostTidy.py 11 Sep 2005 19:38:46 -0000 1.9
***************
*** 55,59 ****
def handle_comment(self, data):
! self.res += "<!-- %s -->"
--- 55,59 ----
def handle_comment(self, data):
! self.res += "<!-- %s -->" % data
***************
*** 79,82 ****
html = re.sub("[ ]+"," ",html)
html = re.sub("[\n]+","\n", html)
!
return html
--- 79,82 ----
html = re.sub("[ ]+"," ",html)
html = re.sub("[\n]+","\n", html)
!
return html
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf