diff --git a/listitem.go b/listitem.go index 789047c..dc2855b 100644 --- a/listitem.go +++ b/listitem.go @@ -6,7 +6,6 @@ import ( ) type ItemElement struct { - Text string Enumeration uint } @@ -14,13 +13,11 @@ func (e *ItemElement) Render(w io.Writer, ctx RenderContext) error { var el *BaseElement if e.Enumeration > 0 { el = &BaseElement{ - Token: e.Text, Style: ctx.style[Enumeration], Prefix: strconv.FormatInt(int64(e.Enumeration), 10), } } else { el = &BaseElement{ - Token: e.Text, Style: ctx.style[Item], } }