Django Summernote not rendering <font> tag with safe filter

when I try to change the 'color' in Summernote, Django doesn't render it properly; it gives the HTML tag instead of the color change. In the Django admin, it works well.

<font color="#000000" style="background-color: rgb(255, 255, 0);">TEXT</font>

The other attributes work fine.

SUMMERNOTE_CONFIG = { 'iframe': True,

'summernote': {
    'airMode': False,

    'height': '291',
    'width': '100%',
    'toolbar': [
        ['style', ['style']],
        ['font', ['bold', 'underline', 'clear']],
        ['fontname', ['fontname']],
        ['color', ['color']],
        ['para', ['ul', 'ol', 'paragraph']],
        ['table', ['table']],
        ['insert', ['link', 'picture', 'video']],
        ['view', ['fullscreen', 'codeview', 'help']],

} in the html

<div class="content">
  <p>{{ question.body|safe }}</p>

Can someone give me a hint for this? Ty a lot!!!!!

Back to Top