Redundant code cleanup

This commit is contained in:
Christian Muehlhaeuser
2019-11-28 02:32:11 +01:00
parent d4d0a3e313
commit f1a62c8b72
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func (e *CodeBlockElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer)
// fallback rendering
el := &BaseElement{
Token: string(node.Literal),
Token: string(e.Code),
Style: CodeBlock,
}
return el.Render(w, node, tr)