https://bugs.documentfoundation.org/show_bug.cgi?id=146264
--- Comment #8 from Svante Schubert <[email protected]> --- Hej Tor, I am about to power down for the holiday season, something similar I had fixed years ago, but can not remember The input content.xml of your bug.odt shows: ODF INTPUT: <text:list xml:id="list1078085969" text:style-name="L1"> <text:list-item> <text:p text:style-name="P1"> <draw:frame draw:style-name="fr1" draw:name="Image1" text:anchor-type="paragraph" svg:width="3.528cm" svg:height="3.528cm" draw:z-index="0"> <draw:image xlink:href="Pictures/100000010000006400000064A2FB08F214CB5BE3.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:mime-type="image/png"/> </draw:frame> <text:span text:style-name="T1">Hello</text:span> </text:p> </text:list-item> </text:list> HTML OUTPUT: <ul> <li> <div class="P1" style="margin-left:0cm;"><span class="Bullet_20_Symbols" style="display:block;float:left;min-width:0.635cm;">•</span> <!--Next 'div' is emulating the top height of a draw:frame.--> <!--Next ' div' is a draw:frame. --> <div style="height:3.528cm;width:3.528cm; padding:0; float:left; position:relative; left:0cm; " class="fr1" id="Image1"><img style="height:3.528cm;width:3.528cm;" alt="" src="data:image/png;base64, <some-base64-data>" /> </div> <!--Next 'div' added for floating.--> <div style="display:inline; position:relative; left:0cm;">Hello</div> <div xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" style="clear:both; line-height:0; width:0; height:0; margin:0; padding:0;"> </div>Hello<span xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" class="odfLiEnd" /> </div> </li> </ul> The ODF output shows first the image and beyond the list bullet with the "Hello" text. As you see from the comments that are provided in the HTML output that the error is likely in the xhtml/body.xsl. Obviously, the span content is being matched twice by XSLT. I have not worked a while with XSLT and quite busy with other tasks, guess I have to pass on this one. Have a nice holiday season... -- You are receiving this mail because: You are the assignee for the bug.
