Escape html in matches so it displays correctly on the page