Skip to content

Commit b34923d

Browse files
authored
Update Goldmark to Goldmark 1.4.4 (#18420)
* Update Goldmark to Goldmark 1.4.4 * nolint the deprecation Signed-off-by: Andrew Thornton <[email protected]>
1 parent f7b152f commit b34923d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ require (
113113
github.com/urfave/cli v1.22.5
114114
github.com/xanzy/go-gitlab v0.50.1
115115
github.com/yohcop/openid-go v1.0.0
116-
github.com/yuin/goldmark v1.4.0
116+
github.com/yuin/goldmark v1.4.4
117117
github.com/yuin/goldmark-highlighting v0.0.0-20210516132338-9216f9c5aa01
118118
github.com/yuin/goldmark-meta v1.0.0
119119
go.etcd.io/bbolt v1.3.6 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,8 +1170,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
11701170
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
11711171
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
11721172
github.com/yuin/goldmark v1.3.6/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
1173-
github.com/yuin/goldmark v1.4.0 h1:OtISOGfH6sOWa1/qXqqAiOIAO6Z5J3AEAE18WAq6BiQ=
1174-
github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
1173+
github.com/yuin/goldmark v1.4.4 h1:zNWRjYUW32G9KirMXYHQHVNFkXvMI7LpgNW2AgYAoIs=
1174+
github.com/yuin/goldmark v1.4.4/go.mod h1:rmuwmfZ0+bvzB24eSC//bk1R1Zp3hM0OXYv/G2LIilg=
11751175
github.com/yuin/goldmark-highlighting v0.0.0-20210516132338-9216f9c5aa01 h1:0SJnXjE4jDClMW6grE0xpNhwpqbPwkBTn8zpVw5C0SI=
11761176
github.com/yuin/goldmark-highlighting v0.0.0-20210516132338-9216f9c5aa01/go.mod h1:TwKQPa5XkCCRC2GRZ5wtfNUTQ2+9/i19mGRijFeJ4BE=
11771177
github.com/yuin/goldmark-meta v1.0.0 h1:ScsatUIT2gFS6azqzLGUjgOnELsBOxMXerM3ogdJhAM=

modules/markup/common/footnote.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func (b *footnoteBlockParser) Open(parent ast.Node, reader text.Reader, pc parse
204204
}
205205
open := pos + 1
206206
closes := 0
207-
closure := util.FindClosure(line[pos+1:], '[', ']', false, false)
207+
closure := util.FindClosure(line[pos+1:], '[', ']', false, false) //nolint
208208
closes = pos + 1 + closure
209209
next := closes + 1
210210
if closure > -1 {
@@ -294,7 +294,7 @@ func (s *footnoteParser) Parse(parent ast.Node, block text.Reader, pc parser.Con
294294
return nil
295295
}
296296
open := pos
297-
closure := util.FindClosure(line[pos:], '[', ']', false, false)
297+
closure := util.FindClosure(line[pos:], '[', ']', false, false) //nolint
298298
if closure < 0 {
299299
return nil
300300
}

0 commit comments

Comments
 (0)