From a601b62b9023c3feeff5d1ad68f9f581a3bbc95e Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 26 Nov 2019 22:42:14 +0100 Subject: [PATCH] Move listitem styling to style JSON --- listitem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listitem.go b/listitem.go index 09316bc..1ea2df5 100644 --- a/listitem.go +++ b/listitem.go @@ -21,7 +21,7 @@ func (e *ItemElement) Render(w io.Writer, node *bf.Node, tr *TermRenderer) error } el := &BaseElement{ - Prefix: strings.Repeat(" ", l-1) + "• ", + Prefix: strings.Repeat(" ", l-1), Token: string(node.Literal), Style: Item, }