From 00cc84e37cd352b3ca73f881b9b51ece92e4793b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 26 Dec 2025 22:55:30 -0800 Subject: [PATCH] remove nolint (#36252) --- modules/markup/mdstripper/mdstripper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markup/mdstripper/mdstripper.go b/modules/markup/mdstripper/mdstripper.go index 5a6504416a..19b852a3ee 100644 --- a/modules/markup/mdstripper/mdstripper.go +++ b/modules/markup/mdstripper/mdstripper.go @@ -46,7 +46,7 @@ func (r *stripRenderer) Render(w io.Writer, source []byte, doc ast.Node) error { coalesce := prevSibIsText r.processString( w, - v.Text(source), //nolint:staticcheck // Text is deprecated + v.Value(source), coalesce) if v.SoftLineBreak() { r.doubleSpace(w)