Bug ID: 102301
           Summary: After export to HTML, bullet lists lose indentation
                    and alignment
           Product: LibreOffice
           Version: release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer

Created attachment 127444
ODT file with bullet points

To reproduce:

1. Create a Writer document.
2. Press Shift+F12 to start a bullet list.
3. Type some list items, one of them long enough to cause the line to wrap.
4. Export to HTML.

Or load the attached ODT and export it.


The bullets look pretty. :) Specifically:

- There is some space between the left margin, the bullet and the text.
- When the text in a list item wraps, the second line should line up with the
  first line. Something like this ASCII text does.

One way of achieving this would be to use the default stylesheet for HTML used
automatically by all browsers. Or, use one of the default list marker types, or
a custom 'list-style-image'.

See also the attached "bullet-better.html".


- The bullet is exactly aligned with the left margin. It is nearly touching the
  text of the list item.
- Wrapped lines line up with the left margin and the bullet.

This happens because the stylesheet sets margin and padding to zero, which
removes the browser's default indentation:

    ol, ul { margin:0; padding:0;}

and also removes the default list-item marker:

    li { list-style: none; margin:0; padding:0;}

See the attached "bullets.html".

You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to