<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Pasting a HTML table into Libreoffice Calc can jumble the table up."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=74577#c30">Comment # 30</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Pasting a HTML table into Libreoffice Calc can jumble the table up."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=74577">bug 74577</a>
from <span class="vcard"><a class="email" href="mailto:panreyes@panreyes.com" title="Pablo Navarro <panreyes@panreyes.com>"> <span class="fn">Pablo Navarro</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>