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?
Encode it before you give it back to R::store()
. See htmlentities.
However, if you never called html_entity_decode
yourself, my guess is that you've made some error elsewhere and that your '
is the result of that error.