github.com/microcosm-cc/bluemonday.Policy.AllowAttrs (method)

56 uses

	github.com/microcosm-cc/bluemonday (current package)
		helpers.go#L148: 	p.AllowAttrs("dir").Matching(Direction).Globally()
		helpers.go#L149: 	p.AllowAttrs(
		helpers.go#L158: 	p.AllowAttrs("id").Matching(
		helpers.go#L163: 	p.AllowAttrs("title").Matching(Paragraph).Globally()
		helpers.go#L173: 	p.AllowAttrs("class").Matching(SpaceSeparatedTokens).Globally()
		helpers.go#L182: 	p.AllowAttrs("align").Matching(ImageAlign).OnElements("img")
		helpers.go#L183: 	p.AllowAttrs("alt").Matching(Paragraph).OnElements("img")
		helpers.go#L184: 	p.AllowAttrs("height", "width").Matching(NumberOrPercent).OnElements("img")
		helpers.go#L188: 	p.AllowAttrs("src").OnElements("img")
		helpers.go#L237: 	p.AllowAttrs("type").Matching(ListType).OnElements("ol", "ul")
		helpers.go#L240: 	p.AllowAttrs("type").Matching(ListType).OnElements("li")
		helpers.go#L241: 	p.AllowAttrs("value").Matching(Integer).OnElements("li")
		helpers.go#L252: 	p.AllowAttrs("height", "width").Matching(NumberOrPercent).OnElements("table")
		helpers.go#L253: 	p.AllowAttrs("summary").Matching(Paragraph).OnElements("table")
		helpers.go#L259: 	p.AllowAttrs("align").Matching(CellAlign).OnElements("col", "colgroup")
		helpers.go#L260: 	p.AllowAttrs("height", "width").Matching(
		helpers.go#L263: 	p.AllowAttrs("span").Matching(Integer).OnElements("colgroup", "col")
		helpers.go#L264: 	p.AllowAttrs("valign").Matching(
		helpers.go#L269: 	p.AllowAttrs("align").Matching(CellAlign).OnElements("thead", "tr")
		helpers.go#L270: 	p.AllowAttrs("valign").Matching(CellVerticalAlign).OnElements("thead", "tr")
		helpers.go#L273: 	p.AllowAttrs("abbr").Matching(Paragraph).OnElements("td", "th")
		helpers.go#L274: 	p.AllowAttrs("align").Matching(CellAlign).OnElements("td", "th")
		helpers.go#L275: 	p.AllowAttrs("colspan", "rowspan").Matching(Integer).OnElements("td", "th")
		helpers.go#L276: 	p.AllowAttrs("headers").Matching(
		helpers.go#L279: 	p.AllowAttrs("height", "width").Matching(
		helpers.go#L282: 	p.AllowAttrs(
		helpers.go#L287: 	p.AllowAttrs("valign").Matching(CellVerticalAlign).OnElements("td", "th")
		helpers.go#L288: 	p.AllowAttrs("nowrap").Matching(
		helpers.go#L293: 	p.AllowAttrs("align").Matching(CellAlign).OnElements("tbody", "tfoot")
		helpers.go#L294: 	p.AllowAttrs("valign").Matching(
		policies.go#L93: 	p.AllowAttrs(
		policies.go#L133: 	p.AllowAttrs("cite").OnElements("blockquote")
		policies.go#L143: 	p.AllowAttrs("href").OnElements("a")
		policies.go#L146: 	p.AllowAttrs("name").Matching(
		policies.go#L149: 	p.AllowAttrs("alt").Matching(Paragraph).OnElements("area")
		policies.go#L150: 	p.AllowAttrs("coords").Matching(
		policies.go#L153: 	p.AllowAttrs("href").OnElements("area")
		policies.go#L154: 	p.AllowAttrs("rel").Matching(SpaceSeparatedTokens).OnElements("area")
		policies.go#L155: 	p.AllowAttrs("shape").Matching(
		policies.go#L158: 	p.AllowAttrs("usemap").Matching(
		policies.go#L173: 	p.AllowAttrs("cite").OnElements("q")
		policies.go#L176: 	p.AllowAttrs("datetime").Matching(ISO8601).OnElements("time")
		policies.go#L194: 	p.AllowAttrs("dir").Matching(Direction).OnElements("bdi", "bdo")
		policies.go#L204: 	p.AllowAttrs("cite").Matching(Paragraph).OnElements("del", "ins")
		policies.go#L205: 	p.AllowAttrs("datetime").Matching(ISO8601).OnElements("del", "ins")
		policies.go#L230: 	p.AllowAttrs(
		policies.go#L240: 	p.AllowAttrs("value", "max").Matching(Number).OnElements("progress")
		policy.go#L148: func (p *Policy) AllowAttrs(attrNames ...string) *attrPolicyBuilder {

	golang.org/x/pkgsite/internal/frontend
		overview.go#L103: 	p.AllowAttrs("width", "align").OnElements("img")
		overview.go#L104: 	p.AllowAttrs("width", "align").OnElements("div")
		overview.go#L105: 	p.AllowAttrs("width", "align").OnElements("p")
		readme.go#L148: 	p.AllowAttrs("width", "align").OnElements("img")
		readme.go#L149: 	p.AllowAttrs("width", "align").OnElements("div")
		readme.go#L150: 	p.AllowAttrs("width", "align").OnElements("p")
		readme.go#L152: 	p.AllowAttrs("width", "align", "role", "aria-level").OnElements("div")
		readme.go#L155: 		p.AllowAttrs("class").OnElements(h)