aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse/templates/git_browse/commit.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-02-24 17:23:19 -0800
committerbnewbold <bnewbold@manus.(none)>2007-02-24 17:23:19 -0800
commitcfeab0aadf7ba357a997c4a0203bcf4176ecc0d3 (patch)
treee826ef345f257fce2d627af810d6e364d10de201 /bn_django/git_browse/templates/git_browse/commit.html
parent1ed9f4702d42326d5c20a22b6c215a9b624f4ba4 (diff)
downloadbnewnet-cfeab0aadf7ba357a997c4a0203bcf4176ecc0d3.tar.gz
bnewnet-cfeab0aadf7ba357a997c4a0203bcf4176ecc0d3.zip
added escape and wordwrap filters to code viewing
Diffstat (limited to 'bn_django/git_browse/templates/git_browse/commit.html')
-rw-r--r--bn_django/git_browse/templates/git_browse/commit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bn_django/git_browse/templates/git_browse/commit.html b/bn_django/git_browse/templates/git_browse/commit.html
index 3a1aefd..b4ee4a6 100644
--- a/bn_django/git_browse/templates/git_browse/commit.html
+++ b/bn_django/git_browse/templates/git_browse/commit.html
@@ -22,7 +22,7 @@
<h3>Committer Date</h3>
{{ commit.committer_date }}<br />
{% if commit.rawdiff %}
- <pre class="large">{{ commit.rawdiff }}</pre>
+ <pre class="large">{{ commit.rawdiff|escape|wordwrap:80 }}</pre>
{% else %}No diff{% endif %}
{% else %}
<h3>No such object: {{ hash }}</h3>