repochecker/grammalecte: Don't replace CodeSpan by text to avoid repetition
This commit is contained in:
parent
f0e6183c21
commit
ea02fa4617
1 changed files with 0 additions and 5 deletions
|
|
@ -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) {
|
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
|
return ast.WalkSkipChildren, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue