mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-15 20:25:18 +02:00
fine tune
This commit is contained in:
@@ -68,9 +68,6 @@ func cssColorHandler(value string) bool {
|
||||
}
|
||||
|
||||
func (g *ASTTransformer) transformCodeSpan(_ *markup.RenderContext, v *ast.CodeSpan, reader text.Reader) {
|
||||
if v.FirstChild() == nil || v.FirstChild() != v.LastChild() {
|
||||
return
|
||||
}
|
||||
colorContent, ok := childSingleText(v, reader.Source())
|
||||
if !ok {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user