Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
5
var
htmlSanitizePolicy = bluemonday.StrictPolicy()
6
7
func
SanitizeHTML(s string) string {
8
return
htmlSanitizePolicy.Sanitize(s)
9
}
Callers
1
initStorage
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected