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

            Bug ID: 159438
           Summary: ODF export: bookmarks' starts and ends interleave
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisectNotNeeded, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 192248
  --> https://bugs.documentfoundation.org/attachment.cgi?id=192248&action=edit
Three bookmarks, meeting in one position

The attached document has a single word "foo" and three bookmarks: "bookmark1"
spans over "foo"; "bookmark2" is between "foo" and "bar"; and "bookmark3" spans
over "bar".

Save it as (F)ODT, and inspect the XML. The content of the paragraph becomes

<text:bookmark-start text:name="bookmark1"/>foo<text:bookmark-start
text:name="bookmark3"/><text:bookmark-end text:name="bookmark1"/><text:bookmark
text:name="bookmark2"/>bar<text:bookmark-end text:name="bookmark3"/>

i.e., between "foo" and "bar", first "bookmark3" starts; then "bookmark1" ends;
and then "bookmark2" appears. I.e., "Bookmark1" and "bookmark3" interleave;
"bookmark2" gets inside "bookmark3".

This is basically re-appearance of #i58438#, happened after commit
76a4305d1e90b6617054dd33036e64f005dbcf04 (sw: fix inconsistent bookmark
behavior -around at-char/as-char anchored frames, 2017-12-21).

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

Reply via email to