You need to avoid starting tags with <. The easiest way is to insert the html code into the pre-tag, and then search and replace for all characters <.
This should work:
<table class="data-table">
<tr>
<td>Title</td>
<td>Amount</td>
</tr>
<tr>
<td>Shorts</td>
<td>£1.00</td>
</tr>
<tr>
<td>Shorts</td>
<td>£1.00</td>
</tr>
</table>
source
share