Skip to content

Commit 1fa4199

Browse files
committed
nolint the deprecation
Signed-off-by: Andrew Thornton <[email protected]>
1 parent af7e191 commit 1fa4199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)