Submitted by : Soren Roug at: 2008-01-31T04:10:51-08:00 (9 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

In MoinMoin, if you indent a paragraph it will show indented in the HTML output also. This is done with an <UL> where the list-type is set to none. However, if the website has a rule in its CSS that all UL tags should show a graphic as the bullet, this graphic will still show according to the CSS specification.

I therefore propose:

Change in pagetypes/moin.py:

if indented_only:
    result.append(self.formatter.listitem(1, css_class=css_class,
       style="list-style-type:none"))

To:

if indented_only:
    result.append(self.formatter.listitem(1, css_class=css_class,
       style="list-style-type:none;list-style-image:none"))

Change in pagetypes/moin.py:

if self.list_types and not self.in_li:
    self.request.write(self.formatter.listitem
       (1, style="list-style-type:none;"))

To:

if self.list_types and not self.in_li:
    self.request.write(self.formatter.listitem
       (1, style="list-style-type:none;list-style-image:none"))

... --Soren Roug, Thu, 31 Jan 2008 04:11:19 -0800 reply

Severity: normal => wishlist