diff options
author | lunnyxiao <xiaolunwen@gmail.com> | 2014-09-17 12:03:03 +0800 |
---|---|---|
committer | lunnyxiao <xiaolunwen@gmail.com> | 2014-09-17 12:03:03 +0800 |
commit | ed84adb679f3de70b2bffaead20a87711c38ee3a (patch) | |
tree | ff303000a735b237c8f45bbcc8018da185beb114 /templates/repo/diff.tmpl | |
parent | efb68a0a96574a334a3ec791c0a7f2bc6b96d006 (diff) | |
download | gitea-ed84adb679f3de70b2bffaead20a87711c38ee3a.tar.gz gitea-ed84adb679f3de70b2bffaead20a87711c38ee3a.zip |
toutf8 improved & add max git diff lines
Diffstat (limited to 'templates/repo/diff.tmpl')
-rw-r--r-- | templates/repo/diff.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 7873345083..a2150f2849 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -105,7 +105,7 @@ <span rel="L1">{{if .RightIdx}}{{.RightIdx}}{{end}}</span> </td> <td class="lines-code"> - <pre>{{.Content}}</pre> + <pre>{{ToUtf8 .Content}}</pre> </td> </tr> {{end}} |