diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-07 02:43:11 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-07 02:43:11 +0000 |
commit | af05fbea27df62c96b411a941cf5bb612f256e9d (patch) | |
tree | 2e0adf39efc67b3531e845586604436cedb8c8d0 /go.mod | |
parent | 3b92291afc24598faf82a5069326d35f2899b072 (diff) | |
download | communique-af05fbea27df62c96b411a941cf5bb612f256e9d.tar.gz |
sanitize/strip any incoming html
Diffstat (limited to '')
-rw-r--r-- | go.mod | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -8,6 +8,7 @@ require ( github.com/Jeffail/gabs/v2 v2.6.1 // indirect github.com/PuerkitoBio/goquery v1.8.0 // indirect github.com/andybalholm/cascadia v1.3.1 // indirect + github.com/aymerick/douceur v0.2.0 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/dgraph-io/badger/v3 v3.2103.5 // indirect @@ -27,10 +28,12 @@ require ( github.com/golang/protobuf v1.5.2 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/flatbuffers v22.11.23+incompatible // indirect + github.com/gorilla/css v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/compress v1.15.13 // indirect github.com/leodido/go-urn v1.2.1 // indirect github.com/mattn/go-isatty v0.0.16 // indirect + github.com/microcosm-cc/bluemonday v1.0.21 // indirect github.com/mmcdole/gofeed v1.1.3 // indirect github.com/mmcdole/goxpp v1.0.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect @@ -44,9 +47,9 @@ require ( go.uber.org/multierr v1.9.0 // indirect go.uber.org/zap v1.24.0 // indirect golang.org/x/crypto v0.4.0 // indirect - golang.org/x/net v0.4.0 // indirect - golang.org/x/sys v0.3.0 // indirect - golang.org/x/text v0.5.0 // indirect + golang.org/x/net v0.5.0 // indirect + golang.org/x/sys v0.4.0 // indirect + golang.org/x/text v0.6.0 // indirect google.golang.org/protobuf v1.28.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) |