Sorry, if it is a very basic question. I wanted to know how SE store and maintain data?
- How is an answer stored in the database such that when retrieved the formats provided by the editing bar (in the below image) are maintained?
- Especially, how are code snippets of javascript (and like) are handled such that it does not harm their front-end website view, back-end database storage and serving computers?
Can someone help me with a very simple example, please?
Showing a webpage which accepts formatted post from a user. How is it made safe for storage and how is it retrieved back to be displayed in the original format specified by the user?