slene 11 年之前
父节点
当前提交
8ef46e90e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/repo/single_file.tmpl

+ 1 - 1
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}}