Escape "'" when HTMLEscapeFlags.escapeQuotes is set. See #377.