There was an error while loading. Please reload this page.
1 parent 14d91f9 commit 15000acCopy full SHA for 15000ac
ast/block.go
@@ -48,6 +48,7 @@ func (b *BaseBlock) SetLines(v *textm.Segments) {
48
b.lines = v
49
}
50
51
+// Text implements Node.Text.
52
func (b *BaseBlock) Text(source []byte) []byte {
53
var buf bytes.Buffer
54
for _, line := range b.Lines().Sliced(0, b.Lines().Len()) {
0 commit comments