0
votes

So, I am using TinyMCE as a text editor in my Django application. It shows all HTML tags and inline CSS codes after saving and reloading data. I've used also 'encoding':'xml', then I am getting something like this.

1

1 Answers

0
votes

Your Django framework is likely escaping the content as a safety precaution. It would appear there is an easy way to stop it from doing that:

Disable HTML escaping in Django's TextField