aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-01-03 19:26:46 -0200
committerAndrey Nering <andrey.nering@gmail.com>2016-01-06 17:46:56 -0200
commit73474c043bfdeeb33cd58bdfe42592fea3083422 (patch)
tree0aab45170a12b50e2f10c2125cb11ae18c879f87 /templates
parent0cb739684096396e26595ac70817a2a05b61b443 (diff)
downloadgitea-73474c043bfdeeb33cd58bdfe42592fea3083422.tar.gz
gitea-73474c043bfdeeb33cd58bdfe42592fea3083422.zip
Highlighting differences of lines in the diff view.
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/diff_box.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/diff_box.tmpl b/templates/repo/diff_box.tmpl
index a12f4de4ec..f7851822f0 100644
--- a/templates/repo/diff_box.tmpl
+++ b/templates/repo/diff_box.tmpl
@@ -76,13 +76,13 @@
<span rel="{{if $line.LeftIdx}}diff-{{Sha1 $file.Name}}L{{$line.LeftIdx}}{{end}}">{{if $line.LeftIdx}}{{$line.LeftIdx}}{{end}}</span>
</td>
<td class="lines-code halfwidth">
- <pre class="wrap">{{if $line.LeftIdx}}{{$line.Content}}{{end}}</pre>
+ <pre class="wrap">{{if $line.LeftIdx}}{{$line.ParsedContent}}{{end}}</pre>
</td>
<td class="lines-num lines-num-new">
<span rel="{{if $line.RightIdx}}diff-{{Sha1 $file.Name}}R{{$line.RightIdx}}{{end}}">{{if $line.RightIdx}}{{$line.RightIdx}}{{end}}</span>
</td>
<td class="lines-code halfwidth">
- <pre class="wrap">{{if $line.RightIdx}}{{$line.Content}}{{end}}</pre>
+ <pre class="wrap">{{if $line.RightIdx}}{{$line.ParsedContent}}{{end}}</pre>
</td>
</tr>
{{end}}
@@ -104,7 +104,7 @@
</td>
{{end}}
<td class="lines-code">
- <pre>{{$line.Content}}</pre>
+ <pre>{{$line.ParsedContent}}</pre>
</td>
</tr>
{{end}}