https://bugs.freedesktop.org/show_bug.cgi?id=66822

          Priority: medium
            Bug ID: 66822
          Assignee: [email protected]
           Summary: refactor HTML export of image bullet list
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: unspecified
         Component: filters and storage
           Product: LibreOffice

For image bullet list HTML export is the following:
<UL SRC="{image data}" WIDTH={x} HEIGHT={y} ALIGN={something}>
    <P STYLE="margin-bottom: 0cm"><IMG SRC="{image data}" WIDTH={x} HEIGHT={y}
ALIGN={something}>List item 1
    </P>
    <P STYLE="margin-bottom: 0cm"><IMG SRC="{image data}" WIDTH={x} HEIGHT={y}
ALIGN={something}>List item 2
    </P>
</UL>

Problem 1: in HTML standard <UL> tag does not have SRC attribute
Problem 2: <LI> tags are not used

CSS should be used here:

<UL STYLE="list-style-image: url({image data});">
<LI>List item 1
<LI>List item 2
</UL>

See OutHTML_BulletImage function and its callers in sw/source/filter/html.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to