forked from tangled.org/core
Monorepo for Tangled

readme fixes

anirudh.fi e7bb5e3d 0e8f3837

verified
Changed files
+5 -2
appview
pages
+3 -1
appview/pages/pages.go
··· 215 215 switch ext { 216 216 case ".md", ".markdown", ".mdown", ".mkdn", ".mkd": 217 217 htmlString = renderMarkdown(params.Readme) 218 + params.Raw = false 219 + params.HTMLReadme = template.HTML(bluemonday.UGCPolicy().Sanitize(htmlString)) 218 220 default: 219 221 htmlString = string(params.Readme) 220 222 params.Raw = true 223 + params.HTMLReadme = template.HTML(bluemonday.NewPolicy().Sanitize(htmlString)) 221 224 } 222 - params.HTMLReadme = template.HTML(bluemonday.NewPolicy().Sanitize(htmlString)) 223 225 } 224 226 225 227 return p.executeRepo("repo/index", w, params)
+2 -1
readme.md
··· 1 1 # tangled 2 - > git collaboration platform built on atproto 2 + 3 + Hello Tanglers! This is the codebase for [Tangled](https://tangled.sh)—a code collaboration platform built on the [AT Protocol](https://atproto.com).