diff options
Diffstat (limited to 'templates/gititemcommit.qtpl')
-rw-r--r-- | templates/gititemcommit.qtpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gititemcommit.qtpl b/templates/gititemcommit.qtpl index d223315..ec67757 100644 --- a/templates/gititemcommit.qtpl +++ b/templates/gititemcommit.qtpl @@ -3,7 +3,7 @@ {% code type GitItemCommitPage struct { Commit *object.Commit - Diff string + Diff []byte } %} @@ -14,6 +14,6 @@ type GitItemCommitPage struct { {%= Commit(name, g.Commit, true) %} </div> <div class="code-view"> -<pre>{%s g.Diff %}</pre> +<pre>{%z= g.Diff %}</pre> </div> {% endfunc %} |