[Libreoffice-bugs] [Bug 74577] Pasting a HTML table into Libreoffice Calc can jumble the table up.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 23 00:33:05 UTC 2020


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

--- Comment #30 from Pablo Navarro <panreyes at panreyes.com> ---
I just signed up to report this exact bug: colspan breaks copying html tables.

It can easily be reproduced:
- Create an HTML file (file.html) with these 6 lines:
<table border="1">
<tr><th colspan="2">Columns A+B<th>Column C
<tr><td>Value A<td>Value B<td>Value C
<tr><td>Value A<td>Value B<td>Value C
<tr><td>Value A<td>Value B<td>Value C
</table>

- Open that file in a browser, it will look like this:
   Columns A + B  | Column C
Value A | Value B | Value C
Value A | Value B | Value C
Value A | Value B | Value C

- Copy the table
- Paste it to LibreOffice Calc

It will look like this:
        A         |    B      |     C     |     D     |    E      |    F
   Columns A + B  | Column C  |           |           |           |
            Value A           | Value B   | Value C   |           |
            Value A                       | Value B   | Value C   |
            Value A                                   | Value B   | Value C


Instead of resetting the colspan, it doubles it every for every next row.

Hope this helps to solve this old bug.
I just tried it in the current nightly and it's still here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200423/5d73f4b9/attachment.htm>


More information about the Libreoffice-bugs mailing list