diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl index f74e09de0..b4626053f 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}}