File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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) {
104104 }
105105
106106 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 )
108108 }
109109
110110 err = shared_user .LoadHeaderCount (ctx )
@@ -372,7 +372,7 @@ func ViewProject(ctx *context.Context) {
372372 }
373373 }
374374
375- project .RenderedContent = templates .SanitizeHTML ( project .Description ) // FIXME: is it right? why not render?
375+ project .RenderedContent = templates .RenderMarkdownToHtml ( ctx , project .Description )
376376 ctx .Data ["LinkedPRs" ] = linkedPrsMap
377377 ctx .Data ["PageIsViewProjects" ] = true
378378 ctx .Data ["CanWriteProjects" ] = canWriteProjects (ctx )
You can’t perform that action at this time.
0 commit comments