https://bugs.documentfoundation.org/show_bug.cgi?id=155445

JI <idzikow...@knowledgetools.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|1                           |0
         Resolution|INSUFFICIENTDATA            |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #9 from JI <idzikow...@knowledgetools.de> ---
a) soffice.bin --version 
    LibreOffice 7.3.7.2 30(Build:2)

   uname -a
    Linux ji 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023
x86_64 x86_64 x86_64 GNU/Linux

   lsb_release -r
    Release: 22.04

b) soffice --convert-to "html:XHTML Writer File:UTF8" footnote.docx

   show result with: xmllint --format footnote.html

    <body dir="ltr" style="max-width:21.001cm;margin-top:2cm;
margin-bottom:2cm; margin-left:2cm; margin-right:2cm; ">
     <div class="P2">First<span class="Footnote_20_anchor" title="Footnote: 1.
Footnote"><a href="#ftn1" id="body_ftn1">1</a></span></div>
     <div class="P2">Second<span class="Footnote_20_anchor" title="Footnote: 2.
Footnote"><a href="#ftn4" id="body_ftn4">2</a></span></div>
     <div class="P2">Third<span class="Footnote_20_anchor" title="Footnote: 3.
Footnote"><a href="#ftn4" id="body_ftn4">3</a></span></div>
     <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn1" href="#body_ftn1">1</a></span>1. Footnote</p>
     <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn4" href="#body_ftn4">2</a></span>2. Footnote</p>
     <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn4" href="#body_ftn4">3</a></span>3. Footnote</p>
    </body>

  you can see footnote 2 and 3 has the same id, with is wrong.

  if you convert footnote.odt to xhtml it is fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to