-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i have a possibly "problem" using unordered lists with structured text. See the exemple: titulo paragrafo noono onoonono ono oo noonononon o onononono ononono onononono onononon onononon ononononono onono. * Item 1. * Item 2. * Item 3. The STX processor of zope render a HTML code like this: <ul> <li><p>Item 1.</p></li> <li><p>Item 2.</p></li> <li><p>Item 3.</p></li> </ul> My question is: the <p> "tags" are correctly generated by STX? IS IT A BUG? In my application, i have some problems with this output because i used CSS styles that makes the presentation of HTML very ugly. <ul> <li>Item 1.</li> <li>Item 2.</li> <li>Item 3.</li> </ul> If It is not a bug, how can i get a output like the output above? Thanks. - -- _____ www._ _|__ /____ ____ _ | |/_//_ </ __ \/ __ `/ Fabiano Weimar dos Santos (Xiru) _> <___/ / / / / /_/ / X3ng Web Technology /_/|_/____/_/ /_/\__, / /____/.com.br -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8g824TqbDpNXhEbERAgDJAKCk3tDoOodBYs7qbUhEPbTmpQNhQgCgx2IU ms696jAYx5QHhV6VqYQiCF4= =ZJOD -----END PGP SIGNATURE-----
----- Original Message ----- From: "Fabiano Weimar dos Santos" <fabiano@x3ng.com.br> To: <zope-dev@zope.org> Sent: Monday, March 04, 2002 14:40 Subject: [Zope-dev] STX Bug ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
i have a possibly "problem" using unordered lists with structured text.
See the exemple:
titulo
paragrafo noono onoonono ono oo noonononon o onononono ononono onononono onononon onononon ononononono onono.
* Item 1.
* Item 2.
* Item 3.
The STX processor of zope render a HTML code like this:
<ul> <li><p>Item 1.</p></li> <li><p>Item 2.</p></li> <li><p>Item 3.</p></li> </ul>
That's fine HTML although I admit that it looks ugly.
My question is: the <p> "tags" are correctly generated by STX? IS IT A
BUG?
In my application, i have some problems with this output because i used
CSS
styles that makes the presentation of HTML very ugly.
<ul> <li>Item 1.</li> <li>Item 2.</li> <li>Item 3.</li> </ul>
If It is not a bug, how can i get a output like the output above?
Not a bug but feel free to hack HTMLClass.py. - aj
The STX processor of zope render a HTML code like this:
<ul> <li><p>Item 1.</p></li> <li><p>Item 2.</p></li> <li><p>Item 3.</p></li> </ul>
If It is not a bug, how can i get a output like the output above?
Not a bug but feel free to hack HTMLClass.py.
I recall a conversation about this 'feature' last year, and I thought it had been agreed to fix it. It's a bad way to render list items, because it is not good structural markup and will behave in unexpected ways with style sheets. Plus, it's particularly baffling because it's not how the pre-NG STX did it. I'll volunteer to fix this if no-one objects. seb
I don't know the discussion but feel free to fix it (don't forget to update the unittests and the regression tests). Andreas ----- Original Message ----- From: "seb bacon" <seb@jamkit.com> To: "Andreas Jung" <andreas@zope.com> Cc: "Fabiano Weimar dos Santos" <fabiano@x3ng.com.br>; <zope-dev@zope.org> Sent: Monday, March 04, 2002 16:37 Subject: Re: [Zope-dev] STX Bug ?
The STX processor of zope render a HTML code like this:
<ul> <li><p>Item 1.</p></li> <li><p>Item 2.</p></li> <li><p>Item 3.</p></li> </ul>
If It is not a bug, how can i get a output like the output above?
Not a bug but feel free to hack HTMLClass.py.
I recall a conversation about this 'feature' last year, and I thought it had been agreed to fix it. It's a bad way to render list items, because it is not good structural markup and will behave in unexpected ways with style sheets. Plus, it's particularly baffling because it's not how the pre-NG STX did it.
I'll volunteer to fix this if no-one objects.
seb
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (3)
-
Andreas Jung -
Fabiano Weimar dos Santos -
seb bacon