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

Commit

Permalink
adding safe flag for profile bio
Browse files Browse the repository at this point in the history
  • Loading branch information
kallewesterling committed Sep 8, 2020
1 parent 6050166 commit 00f4cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion learner/templates/learner/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<div class="col-sm-9">
<h2 class="account-heading">{% if user.first_name and user.last_name %}{{ user.first_name }} {{ user.last_name }}{% else %}{{ user.username }}{% endif %}</h2>
<p class="text-secondary">{{ user.email }}{% if user.is_staff and user.email %} | {% elif user.is_staff %}Staff{% endif %}</p>
<p class="lead">{{ user.profile.bio }}</p>
<p class="lead">{{ user.profile.bio | safe }}</p>

{% if profile.links.count %}
{% 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 %}
Expand Down

0 comments on commit 00f4cef

Please sign in to comment.