github.com/google/safehtml/template.nameSpace.cspCompatible (field)
4 uses
github.com/google/safehtml/template (current package)
escape.go#L582: if e.ns.cspCompatible && bytes.Contains(s, []byte("javascript:")) {
escape.go#L591: if e.ns.cspCompatible && strings.HasPrefix(c.attr.name, "on") {
template.go#L46: cspCompatible bool
template.go#L406: t.nameSpace.cspCompatible = true
![]() |
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. |