~chiefnoah/seq

37bb7afd44108442acb10902a13241d7126b147d — Noah Pederson 1 year, 3 months ago d7b996f master
Fixes extra thing
1 files changed, 1 insertions(+), 9 deletions(-)

M seq.go
M seq.go => seq.go +1 -9
@@ 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("<li>\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("</li>\n")
	}
	if len(*b.Children) > 0 {
		tab(builder, depth)
		builder.WriteString("<li>\n")
		tab(builder, depth)
		builder.WriteString("<li><ul>\n")
		builder.WriteString("<ul>\n")
		for _, child := range *b.Children {
			child.recursive_print(builder, depth+1)
		}