Clean up pre/post ambiguity

This commit is contained in:
Christian Muehlhaeuser
2019-11-26 03:55:43 +01:00
parent c0d32b4fcb
commit 8f083a1043
9 changed files with 48 additions and 48 deletions
+3 -3
View File
@@ -21,9 +21,9 @@ func (e *ItemElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error
}
el := &BaseElement{
Pre: strings.Repeat(" ", l-1) + "• ",
Token: string(node.Literal),
Style: Item,
Prefix: strings.Repeat(" ", l-1) + "• ",
Token: string(node.Literal),
Style: Item,
}
return el.Render(w, node, tr)
}