diff options
-rw-r--r-- | templates/repo/single_file.tmpl | 2 |
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}} |