repochecker/grammalecte: Don't replace CodeSpan by text to avoid repetition

This commit is contained in:
nemunaire 2022-11-24 15:39:11 +01:00
parent f0e6183c21
commit ea02fa4617
1 changed files with 0 additions and 5 deletions

View File

@ -51,11 +51,6 @@ func (r *VoidRenderer) renderAutoLink(w util.BufWriter, source []byte, node ast.
}
func (r *VoidRenderer) renderCodeSpan(w util.BufWriter, source []byte, n ast.Node, entering bool) (ast.WalkStatus, error) {
if !entering {
return ast.WalkContinue, nil
}
_, _ = w.WriteString(`code remplacé`)
return ast.WalkSkipChildren, nil
}