0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-30 01:35:25 +01:00

remove nolint (#36252)

This commit is contained in:
Lunny Xiao 2025-12-26 22:55:30 -08:00 committed by GitHub
parent 64fcf847ce
commit 00cc84e37c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)