MCPcopy Index your code
hub / github.com/OpenListTeam/OpenList / SanitizeHTML

Function SanitizeHTML

pkg/utils/html.go:7–9  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

5var htmlSanitizePolicy = bluemonday.StrictPolicy()
6
7func SanitizeHTML(s string) string {
8 return htmlSanitizePolicy.Sanitize(s)
9}

Callers 1

initStorageFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected