Replace & with &amp; when generating HTML table