Explorar o código

[GinS] Search results should be sanitized

cgars %!s(int64=7) %!d(string=hai) anos
pai
achega
1252229a76
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}}