Skip to content Skip to sidebar Skip to footer

Allowing Basic Html Markup In Django

Im creating an app that will process user submitted content. I would like to enable users to make their text-based content look pretty with basic html markup i.e < i > < b

Solution 1:

Take a look at django-tinymce. It should give you the flexibility you're looking for. You're going to be safest sanitizing the content before it makes its way into your database. TinyMCE can be configured to allow or not allow whatever tags you'd like.


Post a Comment for "Allowing Basic Html Markup In Django"