Quote:
|
Originally Posted by omegatron show the proper use of addslashes and stripslashes in the comments. |
The comment field itself is okay but I think it's the exception. Unfortunately there are still some addslashes problems with various fields. (Review PRO & CON, user-specified fields,) Try entering these in a review.
Positive aspects of the product (pros): it's a test
Negative aspects of the product (cons): it's a test
Now click Edit and it looks like this:
it\'s a test
it\'s a test
Submit it and it's like this
Pros: it\'s a test
Cons: it\'s a test
Edit it and it's like this
Pros: it\\\'s a test
Cons: it\\\'s a test
etc.