Changes
2 changed files (+9/-2)
-
-
@@ -110,8 +110,11 @@ ext := filepath.Ext(readme)content, _ := gr.FileContent(readme) if len(content) > 0 { switch ext { case ".md": unsafe := blackfriday.Run([]byte(content), blackfriday.WithExtensions(blackfriday.CommonExtensions)) case ".md", ".mkd", ".markdown": unsafe := blackfriday.Run( []byte(content), blackfriday.WithExtensions(blackfriday.CommonExtensions), ) html := bluemonday.UGCPolicy().SanitizeBytes(unsafe) readmeContent = template.HTML(html) default:
-
-
-
@@ -162,6 +162,10 @@ .readme ul {padding: revert; } .readme img { max-width: 100%; } .diff { margin: 1rem 0 1rem 0; padding: 1rem 0 1rem 0;
-