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:
@ -69,7 +69,7 @@ func cssColorHandler(value string) bool {
|
||||
}
|
||||
|
||||
func (g *ASTTransformer) transformCodeSpan(_ *markup.RenderContext, v *ast.CodeSpan, reader text.Reader) {
|
||||
colorContent := v.Text(reader.Source())
|
||||
colorContent := v.Text(reader.Source()) //nolint:staticcheck
|
||||
if cssColorHandler(string(colorContent)) {
|
||||
v.AppendChild(v, NewColorPreview(colorContent))
|
||||
}
|
||||
|
Reference in New Issue
Block a user