github.com/microcosm-cc/bluemonday.Policy.AllowElements (method)
13 uses
github.com/microcosm-cc/bluemonday (current package)
helpers.go#L244: p.AllowElements("dl", "dt", "dd")
helpers.go#L256: p.AllowElements("caption")
policies.go#L86: p.AllowElements("article", "aside")
policies.go#L100: p.AllowElements("figure")
policies.go#L106: p.AllowElements("section")
policies.go#L109: p.AllowElements("summary")
policies.go#L119: p.AllowElements("h1", "h2", "h3", "h4", "h5", "h6")
policies.go#L125: p.AllowElements("hgroup")
policies.go#L136: p.AllowElements("br", "div", "hr", "p", "span", "wbr")
policies.go#L169: p.AllowElements("abbr", "acronym", "cite", "code", "dfn", "em",
policies.go#L184: p.AllowElements("b", "i", "pre", "small", "strike", "tt", "u")
policies.go#L197: p.AllowElements("rp", "rt", "ruby")
policy.go#L271: func (p *Policy) AllowElements(names ...string) *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. |