Skip to content

Commit

Permalink
Merge pull request #165 from barshociaj/main
Browse files Browse the repository at this point in the history
Upgrade golang.org/x/net to 0.8.0
  • Loading branch information
buro9 committed Mar 7, 2023
2 parents f6eae15 + 05262b3 commit 6660f4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/aymerick/douceur v0.2.0
golang.org/x/net v0.0.0-20221002022538-bcab6841153b
golang.org/x/net v0.8.0
)

require github.com/gorilla/css v1.0.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuP
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
github.com/gorilla/css v1.0.0 h1:BQqNyPTi50JCFMTw/b67hByjMVXZRwGha6wxVGkeihY=
github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c=
golang.org/x/net v0.0.0-20221002022538-bcab6841153b h1:6e93nYa3hNqAvLr0pD4PN1fFS+gKzp2zAXqrnTCstqU=
golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
2 changes: 1 addition & 1 deletion sanitize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ func TestComments(t *testing.T) {
// for every user of bluemonday that utilises .AllowComments()
{
in: `<!--[if gte mso 9]>Hello<![endif]-->`,
expected: `<!--[if gte mso 9]&gt;Hello&lt;![endif]-->`,
expected: `<!--[if gte mso 9]>Hello<![endif]-->`,
},
}

Expand Down

0 comments on commit 6660f4f

Please sign in to comment.