Bug 152544 - HTTP Anchors fail inside Tables
Summary: HTTP Anchors fail inside Tables
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer Web (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Web-Layout
  Show dependency treegraph
 
Reported: 2022-12-16 12:24 UTC by tom
Modified: 2022-12-20 14:19 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom 2022-12-16 12:24:10 UTC
Description:
HTTP Anchors work fine as links on pages but fail when contained inside table cells. They appear to work but are lost when reloaded.

Steps to Reproduce:
1.create a table in an HTML page.
2.create an anchor inside a table cell.
3.Save page, exit, reload, Anchors (Bookmarks) are gone.

Actual Results:
Fail

Expected Results:
Link to anchor in a page table cell.


Reproducible: Always


User Profile Reset: No

Additional Info:
Outside of tables, on actual HTML page, Works as expected.
Comment 1 Stéphane Guillou (stragu) 2022-12-20 14:19:21 UTC
Reproduced in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad387d5b984c6666906505d25685065f710ed55d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Steps:
1. File > New > HTML Document
2. Insert > Table
3. Click in table cell, Insert > Anchor
4. Click outside table, Insert > Anchor
5. View > Navigator: see two bookmarks listed
6. View > HTML Source: only the bookmark outside table is in the code (<a name="Bookmark 2"></a>)
7. Save file

Results: bookmark inside the table is also gone from the Navigator.