File tree Expand file tree Collapse file tree 5 files changed +75
-15
lines changed
github.com/microcosm-cc/bluemonday Expand file tree Collapse file tree 5 files changed +75
-15
lines changed Original file line number Diff line number Diff line change @@ -126,3 +126,5 @@ require (
126
126
)
127
127
128
128
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.2.4
129
+
130
+ replace github.com/microcosm-cc/bluemonday => github.com/lunny/bluemonday v1.0.5-0.20201227154428-ca34796141e8
Original file line number Diff line number Diff line change @@ -743,6 +743,8 @@ github.com/lib/pq v1.8.1-0.20200908161135-083382b7e6fc h1:ERSU1OvZ6MdWhHieo2oT7x
743
743
github.com/lib/pq v1.8.1-0.20200908161135-083382b7e6fc /go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o =
744
744
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743 /go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM =
745
745
github.com/lightstep/lightstep-tracer-go v0.18.1 /go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4 =
746
+ github.com/lunny/bluemonday v1.0.5-0.20201227154428-ca34796141e8 h1:1omo92DLtxQu6VwVPSZAmduHaK5zssed6cvkHyl1XOg =
747
+ github.com/lunny/bluemonday v1.0.5-0.20201227154428-ca34796141e8 /go.mod h1:8iwZnFn2CDDNZ0r6UXhF4xawGvzaqzCRa1n3/lO3W2w =
746
748
github.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96 h1:uNwtsDp7ci48vBTTxDuwcoTXz4lwtDTe7TjCQ0noaWY =
747
749
github.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96 /go.mod h1:mmIfjCSQlGYXmJ95jFN84AkQFnVABtKuJL8IrzwvUKQ =
748
750
github.com/lunny/log v0.0.0-20160921050905-7887c61bf0de h1:nyxwRdWHAVxpFcDThedEgQ07DbcRc5xgNObtbTp76fk =
@@ -801,8 +803,6 @@ github.com/mgechev/revive v1.0.3-0.20200921231451-246eac737dc7 h1:ydVkpU/M4/c45y
801
803
github.com/mgechev/revive v1.0.3-0.20200921231451-246eac737dc7 /go.mod h1:no/hfevHbndpXR5CaJahkYCfM/FFpmM/dSOwFGU7Z1o =
802
804
github.com/mholt/archiver/v3 v3.5.0 h1:nE8gZIrw66cu4osS/U7UW7YDuGMHssxKutU8IfWxwWE =
803
805
github.com/mholt/archiver/v3 v3.5.0 /go.mod h1:qqTTPUK/HZPFgFQ/TJ3BzvTpF/dPtFVJXdQbCmeMxwc =
804
- github.com/microcosm-cc/bluemonday v1.0.4 h1:p0L+CTpo/PLFdkoPcJemLXG+fpMD7pYOoDEq1axMbGg =
805
- github.com/microcosm-cc/bluemonday v1.0.4 /go.mod h1:8iwZnFn2CDDNZ0r6UXhF4xawGvzaqzCRa1n3/lO3W2w =
806
806
github.com/miekg/dns v1.0.14 /go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg =
807
807
github.com/minio/md5-simd v1.1.0 h1:QPfiOqlZH+Cj9teu0t9b1nTBfPbyTl16Of5MeuShdK4 =
808
808
github.com/minio/md5-simd v1.1.0 /go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw =
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ func TestRender_links(t *testing.T) {
142
142
`<p><a href="ftp://gitea.com/file.txt" rel="nofollow">ftp://gitea.com/file.txt</a></p>` )
143
143
test (
144
144
"magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download" ,
145
- `<p><a href="magnet:?dn=download& xt=urn%3Abtih%3A5dee65101db281ac9c46344cd6b175cdcadabcde" rel="nofollow">magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download</a></p>` )
145
+ `<p><a href="magnet:?xt=urn%3Abtih%3A5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download " rel="nofollow">magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcadabcde&dn=download</a></p>` )
146
146
147
147
// Test that should *not* be turned into URL
148
148
test (
Original file line number Diff line number Diff line change @@ -576,7 +576,7 @@ github.com/mgechev/revive/rule
576
576
# github.com/mholt/archiver/v3 v3.5.0
577
577
## explicit
578
578
github.com/mholt/archiver/v3
579
- # github.com/microcosm-cc/bluemonday v1.0.4
579
+ # github.com/microcosm-cc/bluemonday v1.0.4 => github.com/lunny/bluemonday v1.0.5-0.20201227154428-ca34796141e8
580
580
## explicit
581
581
github.com/microcosm-cc/bluemonday
582
582
# github.com/minio/md5-simd v1.1.0
@@ -998,3 +998,4 @@ xorm.io/xorm/names
998
998
xorm.io/xorm/schemas
999
999
xorm.io/xorm/tags
1000
1000
# github.com/hashicorp/go-version => github.com/6543/go-version v1.2.4
1001
+ # github.com/microcosm-cc/bluemonday => github.com/lunny/bluemonday v1.0.5-0.20201227154428-ca34796141e8
You can’t perform that action at this time.
0 commit comments