Ver código fonte

[GinS] Search results should be sanitized

cgars 7 anos atrás
pai
commit
d38f3da893
1 arquivos alterados com 1 adições e 1 exclusões
  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}}