When a page break goes right through a table cell that spans multiple rows, Prince forgets to draw the bottom line if the borders ought to collapse.
The HTML code below shows the problem. The two tables should be identical. (If it matters: I'm working in an A4 environment.)
The HTML code below shows the problem. The two tables should be identical. (If it matters: I'm working in an A4 environment.)
<html>
<head>
<style type="text/css">
table { border-collapse: collapse; }
table, table td, table th { border: thin solid black; padding: 0.2em; }
</style>
</head>
<body>
<table>
<tr><td>1A</td><td>1B</td><td>1C</td></tr>
<tr><td>2A</td><td rowspan="2">multirow</td><td>2C</td></tr>
<tr><td>3A</td><td>3C</td></tr>
<tr><td>4A</td><td>4B</td><td>4C</td></tr>
</table>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<table>
<tr><td>1A</td><td>1B</td><td>1C</td></tr>
<tr><td>2A</td><td rowspan="2">multirow</td><td>2C</td></tr>
<tr><td>3A</td><td>3C</td></tr>
<tr><td>4A</td><td>4B</td><td>4C</td></tr>
</table>
</body>
</html>