Can I use bluemonday to remove certain links?
akfaew opened this issue · comments
I wish to remove links that have "unsubscribe" somewhere in the anchor or in the url. Is that possible?
bluemonday doesn't support that... but you could use https://pkg.go.dev/golang.org/x/net/html directly to do this.