We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b1a46 commit 1b9a0a4Copy full SHA for 1b9a0a4
modules/markup/sanitizer.go
@@ -133,7 +133,6 @@ func createDefaultPolicy() *bluemonday.Policy {
133
policy.AllowAttrs("class").Matching(regexp.MustCompile("^lines-escape$")).OnElements("td")
134
policy.AllowAttrs("class").Matching(regexp.MustCompile("^toggle-escape-button btn interact-bg$")).OnElements("button")
135
policy.AllowAttrs("title").OnElements("button")
136
- policy.AllowAttrs()
137
policy.AllowAttrs("class").Matching(regexp.MustCompile("^ambiguous-code-point$")).OnElements("span")
138
policy.AllowAttrs("data-tooltip-content").OnElements("span")
139
policy.AllowAttrs("class").Matching(regexp.MustCompile("muted|(text black)")).OnElements("a")
0 commit comments