diff --git a/ast/block.go b/ast/block.go index e781a45..04d0d54 100644 --- a/ast/block.go +++ b/ast/block.go @@ -48,6 +48,7 @@ func (b *BaseBlock) SetLines(v *textm.Segments) { b.lines = v } +// Text implements Node.Text. func (b *BaseBlock) Text(source []byte) []byte { var buf bytes.Buffer for _, line := range b.Lines().Sliced(0, b.Lines().Len()) {