I’m genereting HTML template with Golang. And inside template I generate table with dynamic data:
<table>
<tbody>
<tr>
<td>From</td>
<td>To</td>
<td>Rate</td>
<td>7-day avg</td>
</tr>
{{range .ExchangeRates}}
<tr>
<td>{{.From}}</td>
<td>{{.To}}</td>
<td>{{.Rate}}</td>
<td>{{.SevenDayAverage}}</td>
</tr>
{{end}}
</tbody>
</table>
But I’m receiving the table with wrinked cells like here.
How I can fix this? I need properly formatted table