소스 검색

[GinS] Search results should be sanitized

cgars 7 년 전
부모
커밋
d38f3da893
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      templates/explore/blob_list.tmpl

+ 1 - 1
templates/explore/blob_list.tmpl

@@ -24,7 +24,7 @@
 		<div class="ui divided list">
 			{{range .Highlight.Content}}
 			<div class="item">
-				{{. | Safe}}
+				{{. | Str2html}}
 			</div>
 			{{end}}
 			{{end}}