Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aabd57c

Browse files
committed
bugfix
1 parent 0b3f6c8 commit aabd57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<h2>
4848
<a href="/{{if eq .Objtype 0}}topics{{else if eq .Objtype 1}}articles{{else if eq .Objtype 2}}resources{{else if eq .Objtype 4}}p{{else}}wiki{{end}}/{{.Objid}}" target="_blank" title="{{.Title}}">{{noescape .HlTitle}}</a></h2>
4949
{{if .Content}}
50-
<p class="text">{{safeHtml (noescape .HlContent)}}<a href="/articles/{{.Objid}}" target="_blank" title="阅读全文">阅读全文</a></p>
50+
<p class="text">{{noescape (safeHtml .HlContent)}}<a href="/articles/{{.Objid}}" target="_blank" title="阅读全文">阅读全文</a></p>
5151
{{end}}
5252
</div>
5353
</div>

0 commit comments

Comments
 (0)