If I type rsquo; into a textarea and it gets saved via R::store() it saves it to the database.
If I edit this post it shows ' and if I hit save RedBean will strip the quotation and store the empty bean.
What can I do?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Encode it before you give it back to
R::store(). See htmlentities.However, if you never called
html_entity_decodeyourself, my guess is that you’ve made some error elsewhere and that your'is the result of that error.