repochecker/grammalecte: Fix CodeSpan
This commit is contained in:
parent
fee1ab2a26
commit
84f85d631a
2 changed files with 20 additions and 1 deletions
|
|
@ -54,6 +54,11 @@ 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(`SubstitutDeCode`)
|
||||
return ast.WalkSkipChildren, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue