[Zope] Structured text and lists
Tres Seaver
tseaver@palladion.com
Sun, 14 Mar 1999 14:50:29 -0600
Milos Prudek wrote:
> Can I make ordered/unordered lists using structured text, without
> doublespacing lines? When I write single spaced lines:
> - one
> - two
> - three
> it's not rendered as list. And when I write doublespaced lines, it's
> rendered as doublespaced list...
In lib/python/StructuredText/StructuredText.py, modify the ul() and ol() methods
as follows:
Change:
if p: p="<p>%s</p>" % strip(ctag(p))
to
if p: p="%s" % strip(ctag(p))
I posted a more robust diff to the zope-dev list last night, which allows
replacement of the list-element format string from an ExternalMethod.
--
=========================================================
Tres Seaver tseaver@palladion.com 713-523-6582
Palladion Software http://www.palladion.com