I am using commonsguy / cwac-richedit Library for Rich Text Editing. After doing so i am saving the formatted text in the database. But when i retrieve the saved formatted string its formatting is removed.
I want to know that how to save/retrieve the text from the database without losing format.
I am using commonsguy / cwac-richedit Library for Rich Text Editing."` . If you can retrieve this kind of code, you can save it as such (or use StringUtils.escapeHTML() from apache commonUtil lib) and save it directly to DB.
– Naveen Babu Jun 17 '13 at 05:54