Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/html-escapes/readme
add an escape for single quotes ('), - as the comment says, you have to use ' as ' is a valid XML entity but not a valid HTML one. -Steve