Fix lint errors

This commit is contained in:
yuin 2024-10-12 22:42:35 +09:00
parent 14d91f957f
commit 15000ac6a1

View file

@ -48,6 +48,7 @@ func (b *BaseBlock) SetLines(v *textm.Segments) {
b.lines = v b.lines = v
} }
// Text implements Node.Text.
func (b *BaseBlock) Text(source []byte) []byte { func (b *BaseBlock) Text(source []byte) []byte {
var buf bytes.Buffer var buf bytes.Buffer
for _, line := range b.Lines().Sliced(0, b.Lines().Len()) { for _, line := range b.Lines().Sliced(0, b.Lines().Len()) {