From 37bb7afd44108442acb10902a13241d7126b147d Mon Sep 17 00:00:00 2001 From: Noah Pederson Date: Mon, 24 Jul 2023 19:47:27 -0500 Subject: [PATCH] Fixes extra thing --- seq.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/seq.go b/seq.go index 80a7462..f8327fe 100644 --- a/seq.go +++ b/seq.go @@ -104,10 +104,6 @@ func (b *Block) recursive_print(builder *strings.Builder, depth int) { if builder == nil { builder = &strings.Builder{} } - if depth > 0 { - tab(builder, depth) - builder.WriteString("
  • \n") - } if b.Content != nil { tab(builder, depth) // Handle indentation @@ -115,15 +111,11 @@ func (b *Block) recursive_print(builder *strings.Builder, depth int) { builder.WriteString(string(output)) builder.WriteString("\n") } - if depth > 0 { - tab(builder, depth) - builder.WriteString("
  • \n") - } if len(*b.Children) > 0 { tab(builder, depth) builder.WriteString("
  • \n") tab(builder, depth) - builder.WriteString("