escape repo descriptions

Fixes https://github.com/github/personal-website/issues/56
This commit is contained in:
Brandon Rosage 2019-03-05 11:57:13 -06:00
parent 66eecfcdd5
commit 4c48f09c8c

View file

@ -8,7 +8,7 @@
</a> </a>
</h1> </h1>
</div> </div>
<div class="text-gray mb-2 ws-normal">{{ repository.description }}</div> <div class="text-gray mb-2 ws-normal overflow-hidden">{{ repository.description | escape }}</div>
</div> </div>
<div class="d-flex f6"> <div class="d-flex f6">
{% if repository.language %} {% if repository.language %}