Parsing and then re-writing the HTML seemed slow, so going for a simple replace for now