well thats not how the default code operates before this discussion so maybe you still have something inputted thats not suppose to be
Feel free to download the code so its not confused with your modified files and use editproduct and uploadproduct
Here is an actual ad posted with your example using the default code
Test Again - PhotoPost Classifieds