import bleach

ALLOWED_TAGS = bleach.ALLOWED_TAGS + [
    'div', 'span', 's', 'u', 'img'
]

ALLOWED_STYLES = bleach.ALLOWED_STYLES + [
    'font-weight', 'font-family', 'font-size'
]

ALLOWED_ATTRIBUTES = bleach.ALLOWED_ATTRIBUTES
ALLOWED_ATTRIBUTES['*'] = ['style']
import bleach

ALLOWED_TAGS = bleach.ALLOWED_TAGS + [
    'div', 'span', 's', 'u', 'img', 'br'
]

ALLOWED_STYLES = bleach.ALLOWED_STYLES + [
    'font-weight', 'font-family', 'font-size'
]

ALLOWED_ATTRIBUTES = bleach.ALLOWED_ATTRIBUTES
ALLOWED_ATTRIBUTES['*'] = ['style']

Add line break to allowed HTML tags
Add line break to allowed HTML tags
