github.com/microcosm-cc/bluemonday.Policy.setOfElementsToSkipContent (field)
18 uses
github.com/microcosm-cc/bluemonday (current package)
policy.go#L96: setOfElementsToSkipContent map[string]struct{}
policy.go#L123: p.setOfElementsToSkipContent = make(map[string]struct{})
policy.go#L413: if _, ok := p.setOfElementsToSkipContent[element]; !ok {
policy.go#L414: p.setOfElementsToSkipContent[element] = struct{}{}
policy.go#L428: delete(p.setOfElementsToSkipContent, strings.ToLower(element))
policy.go#L541: p.setOfElementsToSkipContent["frame"] = struct{}{}
policy.go#L542: p.setOfElementsToSkipContent["frameset"] = struct{}{}
policy.go#L543: p.setOfElementsToSkipContent["iframe"] = struct{}{}
policy.go#L544: p.setOfElementsToSkipContent["noembed"] = struct{}{}
policy.go#L545: p.setOfElementsToSkipContent["noframes"] = struct{}{}
policy.go#L546: p.setOfElementsToSkipContent["noscript"] = struct{}{}
policy.go#L547: p.setOfElementsToSkipContent["nostyle"] = struct{}{}
policy.go#L548: p.setOfElementsToSkipContent["object"] = struct{}{}
policy.go#L549: p.setOfElementsToSkipContent["script"] = struct{}{}
policy.go#L550: p.setOfElementsToSkipContent["style"] = struct{}{}
policy.go#L551: p.setOfElementsToSkipContent["title"] = struct{}{}
sanitize.go#L140: if _, ok := p.setOfElementsToSkipContent[token.Data]; ok {
sanitize.go#L187: if _, ok := p.setOfElementsToSkipContent[token.Data]; ok {
![]() |
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. |