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

--- Comment #30 from Pablo Navarro <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to