i am getting info from a form, and then setting the form field values into session variables using request.form to get the form values. these variables are then passed on and emailed to a user.
the problem is, some of the form field values have double quotes (eg. "one") and these are causing problems. I wrote a function that replaces all double quotes with ", which works fine on html pages, but does not show up as quotes in the plain text email that sends out the values.
is there a way to do this so that it works in both the html pages as well as the plain text email?
the problem is, some of the form field values have double quotes (eg. "one") and these are causing problems. I wrote a function that replaces all double quotes with ", which works fine on html pages, but does not show up as quotes in the plain text email that sends out the values.
is there a way to do this so that it works in both the html pages as well as the plain text email?