github.com/microcosm-cc/bluemonday.attrPolicyBuilder.p (field)
14 uses
github.com/microcosm-cc/bluemonday (current package)
policy.go#L107: p *Policy
policy.go#L153: p: p,
policy.go#L188: p: p,
policy.go#L224: if _, ok := abp.p.elsAndAttrs[element]; !ok {
policy.go#L225: abp.p.elsAndAttrs[element] = make(map[string]attrPolicy)
policy.go#L233: abp.p.elsAndAttrs[element][attr] = ap
policy.go#L237: abp.p.setOfElementsAllowedWithoutAttrs[element] = struct{}{}
policy.go#L239: if _, ok := abp.p.elsAndAttrs[element]; !ok {
policy.go#L240: abp.p.elsAndAttrs[element] = make(map[string]attrPolicy)
policy.go#L245: return abp.p
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
policy.go#L265: return abp.p
![]() |
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. |