var github.com/microcosm-cc/bluemonday.SpaceSeparatedTokens
4 uses
github.com/microcosm-cc/bluemonday (current package)
helpers.go#L98: SpaceSeparatedTokens = regexp.MustCompile(`^([\s\p{L}\p{N}_-]+)$`)
helpers.go#L173: p.AllowAttrs("class").Matching(SpaceSeparatedTokens).Globally()
helpers.go#L277: SpaceSeparatedTokens,
policies.go#L154: p.AllowAttrs("rel").Matching(SpaceSeparatedTokens).OnElements("area")
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |