summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-11-21 23:09:48 -0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-22 15:09:48 +0800
commit2cb6c51158aece9285059db72e5f28b1b8aadb45 (patch)
tree4f8ab2cc5b1d44085a8d107589eec6f684a00620 /templates/repo/wiki
parentdbb7715b0b08ea5ea1b8e03c624887abb140a74f (diff)
downloadgitea-2cb6c51158aece9285059db72e5f28b1b8aadb45.tar.gz
gitea-2cb6c51158aece9285059db72e5f28b1b8aadb45.zip
Fix over-escaped characters (#2956)
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/view.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl
index 8eab1ac07b..79f17f5de9 100644
--- a/templates/repo/wiki/view.tmpl
+++ b/templates/repo/wiki/view.tmpl
@@ -1,7 +1,7 @@
{{template "base/head" .}}
<div class="repository wiki view">
{{template "repo/header" .}}
- {{ $title := .title | Sanitize}}
+ {{ $title := .title}}
<div class="ui container">
<div class="ui grid">
<div class="ui ten wide column">
@@ -21,7 +21,7 @@
</div>
<div class="scrolling menu">
{{range .Pages}}
- <div class="item {{if eq $.Title .Name}}selected{{end}}" data-url="{{$.RepoLink}}/wiki/{{.URL}}">{{.Name | Sanitize}}</div>
+ <div class="item {{if eq $.Title .Name}}selected{{end}}" data-url="{{$.RepoLink}}/wiki/{{.URL}}">{{.Name}}</div>
{{end}}
</div>
</div>