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>
</h1>
</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 class="d-flex f6">
{% if repository.language %}