github.com/microcosm-cc/bluemonday.attrPolicyBuilder.Globally (method)
6 uses
github.com/microcosm-cc/bluemonday (current package)
helpers.go#L148: p.AllowAttrs("dir").Matching(Direction).Globally()
helpers.go#L151: ).Matching(regexp.MustCompile(`[a-zA-Z]{2,20}`)).Globally()
helpers.go#L160: ).Globally()
helpers.go#L163: p.AllowAttrs("title").Matching(Paragraph).Globally()
helpers.go#L173: p.AllowAttrs("class").Matching(SpaceSeparatedTokens).Globally()
policy.go#L250: func (abp *attrPolicyBuilder) Globally() *Policy {
![]() |
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. |