1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 01:57:20 +00:00

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
9 changed files with 339 additions and 361 deletions

View File

@ -19,7 +19,7 @@ func (g *ASTTransformer) transformHeading(_ *markup.RenderContext, v *ast.Headin
v.SetAttribute(attr.Name, []byte(fmt.Sprintf("%v", attr.Value)))
}
}
txt := v.Text(reader.Source())
txt := v.Text(reader.Source()) //nolint:staticcheck
header := markup.Header{
Text: util.UnsafeBytesToString(txt),
Level: v.Level,