Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 00f4cef

Browse files
adding safe flag for profile bio
1 parent 6050166 commit 00f4cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learner/templates/learner/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<div class="col-sm-9">
4545
<h2 class="account-heading">{% if user.first_name and user.last_name %}{{ user.first_name }} {{ user.last_name }}{% else %}{{ user.username }}{% endif %}</h2>
4646
<p class="text-secondary">{{ user.email }}{% if user.is_staff and user.email %} | {% elif user.is_staff %}Staff{% endif %}</p>
47-
<p class="lead">{{ user.profile.bio }}</p>
47+
<p class="lead">{{ user.profile.bio | safe }}</p>
4848

4949
{% if profile.links.count %}
5050
{% if profile.personal_links.count %}<p><strong class="mr-2">Personal links</strong>{% for link in profile.personal_links.all %}<a href="{{ link.url }}" class="badge bg-light text-dark mr-1" target="_blank">{{ link.label }}</a>{% endfor %}</p>{% endif %}

0 commit comments

Comments
 (0)