in reply to Re: Escaping double quotes in complete documentin thread Escaping double quotes in complete document
toolkits for creating HTML code
You may want to have a look at UP-TO-DATE Comparison of CGI Alternatives regarding that.