File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ func Projects(ctx *context.Context) {
104
104
}
105
105
106
106
for _ , project := range projects {
107
- project .RenderedContent = templates .SanitizeHTML ( project .Description ) // FIXME: is it right? why not render?
107
+ project .RenderedContent = templates .RenderMarkdownToHtml ( ctx , project .Description )
108
108
}
109
109
110
110
err = shared_user .LoadHeaderCount (ctx )
@@ -372,7 +372,7 @@ func ViewProject(ctx *context.Context) {
372
372
}
373
373
}
374
374
375
- project .RenderedContent = templates .SanitizeHTML ( project .Description ) // FIXME: is it right? why not render?
375
+ project .RenderedContent = templates .RenderMarkdownToHtml ( ctx , project .Description )
376
376
ctx .Data ["LinkedPRs" ] = linkedPrsMap
377
377
ctx .Data ["PageIsViewProjects" ] = true
378
378
ctx .Data ["CanWriteProjects" ] = canWriteProjects (ctx )
You can’t perform that action at this time.
0 commit comments