}
for _, project := range projects {
- project.RenderedContent = templates.SanitizeHTML(project.Description) // FIXME: is it right? why not render?
+ project.RenderedContent = templates.RenderMarkdownToHtml(ctx, project.Description)
}
err = shared_user.LoadHeaderCount(ctx)
}
}
- project.RenderedContent = templates.SanitizeHTML(project.Description) // FIXME: is it right? why not render?
+ project.RenderedContent = templates.RenderMarkdownToHtml(ctx, project.Description)
ctx.Data["LinkedPRs"] = linkedPrsMap
ctx.Data["PageIsViewProjects"] = true
ctx.Data["CanWriteProjects"] = canWriteProjects(ctx)