mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Fix lint errors
This commit is contained in:
parent
14d91f957f
commit
15000ac6a1
1 changed files with 1 additions and 0 deletions
|
|
@ -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()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue