File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ func (f *funcMap) Map() template.FuncMap {
6060 "safeJS" : func (str string ) template.JS {
6161 return template .JS (str )
6262 },
63- "noescape " : func (str string ) template.HTML {
63+ "safeHTML " : func (str string ) template.HTML {
6464 return template .HTML (str )
6565 },
6666 "proxyFilter" : func (data string ) string {
Original file line number Diff line number Diff line change @@ -280,9 +280,9 @@ <h1 id="page-header-title" dir="auto">
280280 {{ end }}
281281
282282 {{ if .user }}
283- {{ noescape (proxyFilter .entry.Content) }}
283+ {{ safeHTML (proxyFilter .entry.Content) }}
284284 {{ else }}
285- {{ noescape .entry.Content }}
285+ {{ safeHTML .entry.Content }}
286286 {{ end }}
287287</ article >
288288{{ if .entry.Enclosures }}
You can’t perform that action at this time.
0 commit comments