Now it’s time to render the content when users input data using the editor. If you store content in db model and render it using Jinja2, don’t forget to use “safe”, otherwise, your website will display all the HTML tags.

Data gets stored into my “Answer” class and within my class I created a property “content” to store submitted contents. The code will look like this.