diff options
author | Unknwon <u@gogs.io> | 2015-12-16 22:13:12 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-16 22:13:12 -0500 |
commit | 6673dcb0380aa99da25b4d1d68cf129635fe30d9 (patch) | |
tree | 45167c2f2991818467389866847c402e3a48e906 /templates | |
parent | 71142929cc35e9b7c73b659c38b5eb42dc42bb83 (diff) | |
download | gitea-6673dcb0380aa99da25b4d1d68cf129635fe30d9.tar.gz gitea-6673dcb0380aa99da25b4d1d68cf129635fe30d9.zip |
#2103 #2181 improvments of highlight class name
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/view_file.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 684d3a542a..1d848e80f1 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.8.7.1215
\ No newline at end of file +0.8.8.1216
\ No newline at end of file diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 021a62f1d1..44d74f9c9b 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -40,7 +40,7 @@ <tbody> <tr> <td class="lines-num"></td> - <td class="lines-code"><pre class="{{if .FileExt}}lang-{{.FileExt}}{{end}}"><code><ol class="linenums">{{.FileContent}}</ol></code></pre></td> + <td class="lines-code"><pre><code class="{{.HighlightClass}}"><ol class="linenums">{{.FileContent}}</ol></code></pre></td> </tr> </tbody> </table> |