[Zope-dev] STX Bug ?

Andreas Jung Andreas Jung" <andreas@zope.com
Mon, 4 Mar 2002 14:51:53 -0500


----- 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