Bug 157643 - Saving to HTML a table with a wide horizontal border between rows, produces extra tr elements
Summary: Saving to HTML a table with a wide horizontal border between rows, produces e...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.2.0 target:7.6.3
Keywords: filter:html
Depends on:
Blocks:
 
Reported: 2023-10-06 18:43 UTC by Mike Kaganski
Modified: 2023-10-09 14:03 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Table with wide horizontal border between rows (2.82 KB, application/vnd.oasis.opendocument.text)
2023-10-06 18:43 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2023-10-06 18:43:30 UTC
Created attachment 190071 [details]
Table with wide horizontal border between rows

Open the attachment, check that the table only has two rows, and save as -> HTML.
In the generated HTML, there will be an empty "<tr></tr>" between the two acrual rows.

If the border made narrower than 1.5 pt (say, 0.75 pt), there will be no extra row in the generated HTML.
Comment 1 Commit Notification 2023-10-07 10:20:04 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b6a5e84cd3f22a223d67fe88595006a33c291c48

tdf#157643: Drop extra cellless rows, a "substitute" for bold borders

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2023-10-09 14:03:45 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/11254d0af28464d04f6c980a0f8f3ce3ba0dd423

tdf#157643: Drop extra cellless rows, a "substitute" for bold borders

It will be available in 7.6.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.