summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-20 14:04:02 +0800
committerslene <vslene@gmail.com>2014-03-20 14:04:02 +0800
commit8ef46e90e5d7a051b12b1ef83435b6579ac9abd9 (patch)
treeff9aad2955c5769ff78e2c52ee60c46f9d235de2 /templates
parent24678d73f59abd46141ef6fece7966e1f9c5c8f3 (diff)
downloadgitea-8ef46e90e5d7a051b12b1ef83435b6579ac9abd9.tar.gz
gitea-8ef46e90e5d7a051b12b1ef83435b6579ac9abd9.zip
fix
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/single_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl
index f74e09de09..b4626053fd 100644
--- a/templates/repo/single_file.tmpl
+++ b/templates/repo/single_file.tmpl
@@ -13,7 +13,7 @@
</div>
{{else}}
<div class="panel-body file-body markdown">
- <pre><code>{{.FileContent|str2html}}</code></pre>
+ <pre><code>{{.FileContent}}</code></pre>
</div>
{{end}}
{{end}}