tr: fix HTML, spaces and comments.