[Zope] Attempted hotfix to structured text

ksmith@99hats.com ksmith@99hats.com
Tue, 14 Aug 2001 20:30:57 -0400


This is a multi-part message in MIME format.
----------997835457
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I'm trying to do a Hotfix to remove the the space between bulleted lists in structured text.  Does anyone know why this isn't working as a Hotfix? Thanks, Kevin


__init__.py




""" Remove P tag from unordered lists"""

from StructuredText.StructuredText import HTML

def ul(self, before, p, after):
        """Save some space"""
        
        if p: p="%s" % strip(ctag(p))
        return ('%s<ul><li>%s\n%s\n</li></ul>\n'
                 % (before,p,after))
----------997835457--