Avoid unnecessary converions

This commit is contained in:
Christian Muehlhaeuser
2019-12-10 18:14:37 +01:00
parent 50046dd6b3
commit 544fe9741d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func (e *CodeBlockElement) Render(w io.Writer, ctx RenderContext) error {
// fallback rendering
el := &BaseElement{
Token: string(e.Code),
Token: e.Code,
Style: rules,
}