repochecker/grammalecte: Don't replace CodeSpan by text to avoid repetition
This commit is contained in:
parent
f0e6183c21
commit
ea02fa4617
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue