github.com/microcosm-cc/bluemonday.Policy.globalAttrs (field)
6 uses
github.com/microcosm-cc/bluemonday (current package)
policy.go#L80: globalAttrs map[string]attrPolicy
policy.go#L120: p.globalAttrs = make(map[string]attrPolicy)
policy.go#L253: if _, ok := abp.p.globalAttrs[attr]; !ok {
policy.go#L254: abp.p.globalAttrs[attr] = attrPolicy{}
policy.go#L262: abp.p.globalAttrs[attr] = ap
sanitize.go#L290: if ap, ok := p.globalAttrs[htmlAttr.Key]; 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. |