From ad5d028bf7574059b8aace0c7a756a4cba0d6bb0 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Oct 20 2014 17:57:55 +0000 Subject: Use markdown syntax for repo description --- diff --git a/progit/templates/repo_master.html b/progit/templates/repo_master.html index 192e5c1..8ab13f6 100644 --- a/progit/templates/repo_master.html +++ b/progit/templates/repo_master.html @@ -12,7 +12,8 @@ {% if branchname %} ({{ branchname }}) {% endif %} - {% if repo.description %}{{ repo.description | rst2html }}{% else %}-{% endif %} + {% if repo.description %}{% autoescape false %} + {{ repo.description | markdown }}{% endautoescape %}{% else %}-{% endif %} {% if repo.is_fork %}