Nov 20th, 2012, 5:50 PM
(Nov 17th, 2012, 10:07 PM)kwhitlock Wrote: Hi,
I seem to have this problem with slash markes that keep doubling up with every update.
The first time I view the string in a textarea, it appears just fine:
This is a "quote" and this is another 'quote'
When I click on update the same string appears as:
This a \"quote\" and this is another \'quote'
Clicking update again and the backslash doubles and so on and so on.
This is a \\"quote\\" and this is another \\'quote \\'
Could some one point me to the function() that is applying these backslashes so that I can turn them off? Or something I can add as a hook to fix this?
Thanks!
Kellie
OBTW I am using the lastest and greatest formtools version :-)
Hmmm... this really shouldn't be occurring. I even added the exact example into my local version and the demo and the additional escapes do not occur.
MySQL does add escapes: http://dev.mysql.com/doc/refman/5.0/en/s...erals.html
Perhaps you can use the Submission Pre-parser to parse the data to prevent additional backslashes from being added: http://modules.formtools.org/submission_pre_parser/
Hope this helps.