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

            Bug ID: 155445
           Summary: Wrong XHTML Footnotes/Endnotes IDs
           Product: LibreOffice
           Version: 7.3.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: idzikow...@knowledgetools.de

Created attachment 187452
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187452&action=edit
Export DOCX -> XHTML duplicate Footnotes/Endnotes IDs

When convert a docx file with footnotes/endnotes with filter  "html:XHTML
Writer File:UTF8" the created xhtml file is wrong, it has duplicate IDs for
footnote/endnote links. If convert a odt wtth the same content the created
xhtml file is correct.

docx -> xhtml:
    <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn1" href="#body_ftn1">1</a></span>1111</p>
    <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn4" href="#body_ftn4">2</a></span>2222</p>
    <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn4" href="#body_ftn4">3</a></span>3333</p>


odt -> xhtml:
    <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn1" href="#body_ftn1">1</a></span>1111</p>
    <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn2" href="#body_ftn2">2</a></span>2222</p>
    <p class="P1"><span class="footnodeNumber"><a class="Footnote_20_Symbol"
id="ftn3" href="#body_ftn3">3</a></span>3333</p>

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

Reply via email to