2👍
✅
As DM says, autoscape tag, or… the safe filter
<li>{{ cur_goal.description|safe }}</li>
Or mark_safe
from the python side.
https://docs.djangoproject.com/en/dev/ref/utils/#django.utils.safestring.mark_safe
Source:stackexchange.com