aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/blob.html
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/blob.html')
-rw-r--r--bn_django/git_browse/templates/git_browse/blob.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bn_django/git_browse/templates/git_browse/blob.html b/bn_django/git_browse/templates/git_browse/blob.html
index 1fb1437..3730807 100644
--- a/bn_django/git_browse/templates/git_browse/blob.html
+++ b/bn_django/git_browse/templates/git_browse/blob.html
@@ -7,7 +7,7 @@
{{ size|filesizeformat }}<br />
<h3><a href="zip">Download zip</a></h3>
<h3>Raw contents</h3>
- <pre class="large">{{ contents }}</pre>
+ <pre class="large">{{ contents|escape|wordwrap:80 }}</pre>
{% else %}
<h3>No such object: {{ hash }}</h3>
{% endif %} {% endblock %}