tangled
alpha
login
or
join now
cameron.stream
/
core
forked from
tangled.org/core
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
readme fixes
anirudh.fi
11 months ago
db0fb162
9e6276dd
+5
-2
2 changed files
expand all
collapse all
unified
split
appview
pages
pages.go
readme.md
+3
-1
appview/pages/pages.go
···
215
switch ext {
216
case ".md", ".markdown", ".mdown", ".mkdn", ".mkd":
217
htmlString = renderMarkdown(params.Readme)
0
0
218
default:
219
htmlString = string(params.Readme)
220
params.Raw = true
0
221
}
222
-
params.HTMLReadme = template.HTML(bluemonday.NewPolicy().Sanitize(htmlString))
223
}
224
225
return p.executeRepo("repo/index", w, params)
···
215
switch ext {
216
case ".md", ".markdown", ".mdown", ".mkdn", ".mkd":
217
htmlString = renderMarkdown(params.Readme)
218
+
params.Raw = false
219
+
params.HTMLReadme = template.HTML(bluemonday.UGCPolicy().Sanitize(htmlString))
220
default:
221
htmlString = string(params.Readme)
222
params.Raw = true
223
+
params.HTMLReadme = template.HTML(bluemonday.NewPolicy().Sanitize(htmlString))
224
}
0
225
}
226
227
return p.executeRepo("repo/index", w, params)
+2
-1
readme.md
···
1
# tangled
2
-
> git collaboration platform built on atproto
0
···
1
# tangled
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).