mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 18:17:19 +00:00
Update go dependencies (#32389)
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user