<textarea id='add-row-before'>
<table summary="X">
	<tbody>
		<tr>
			<td>
				cell1^</td>
			<td>
				cell2</td>
		</tr>
	</tbody>
</table>

=>
<table summary="X">
	<tbody>
	<tr>
		<td>&amp;nbsp;</td>
		<td>&amp;nbsp;</td>
	</tr>
	<tr>
		<td>cell1</td>
		<td>cell2</td>
	</tr>
	</tbody>
</table>
</textarea>

<textarea id='add-row-before-2'>
<table>
	<tbody>
	<tr>
		<td rowspan="2">
			cell1
		</td>
		<td>
			cell2^
		</td>
	</tr>
	<tr>
		<td>
			cell3
		</td>
	</tr>
	</tbody>
</table>
=>
<table>
	<tbody>
	<