aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup/markdown/transform_blockquote.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup/markdown/transform_blockquote.go')
-rw-r--r--modules/markup/markdown/transform_blockquote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markup/markdown/transform_blockquote.go b/modules/markup/markdown/transform_blockquote.go
index 3a8c6fa018..bf17f01681 100644
--- a/modules/markup/markdown/transform_blockquote.go
+++ b/modules/markup/markdown/transform_blockquote.go
@@ -46,7 +46,7 @@ func (g *ASTTransformer) extractBlockquoteAttentionEmphasis(firstParagraph ast.N
if !ok {
return "", nil
}
- val1 := string(node1.Text(reader.Source())) //nolint:staticcheck
+ val1 := string(node1.Text(reader.Source())) //nolint:staticcheck // Text is deprecated
attentionType := strings.ToLower(val1)
if g.attentionTypes.Contains(attentionType) {
return attentionType, []ast.Node{node1}