fine tune

This commit is contained in:
wxiaoguang
2026-06-07 13:59:48 +08:00
parent 97f6c2cc54
commit de357b7937

View File

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