Преглед изворни кода

[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}}