Update go dependencies (#32389)

This commit is contained in:
wxiaoguang 2024-10-31 20:05:54 +08:00 committed by GitHub
parent 9914c9ab08
commit 5e6523aa57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 339 additions and 361 deletions

View file

@ -45,7 +45,7 @@ func (g *ASTTransformer) extractBlockquoteAttentionEmphasis(firstParagraph ast.N
if !ok {
return "", nil
}
val1 := string(node1.Text(reader.Source()))
val1 := string(node1.Text(reader.Source())) //nolint:staticcheck
attentionType := strings.ToLower(val1)
if g.attentionTypes.Contains(attentionType) {
return attentionType, []ast.Node{node1}