Fix incorrect text read call
This commit is contained in:
parent
8924b11aa8
commit
4e432fa545
2
zig.go
2
zig.go
@ -272,7 +272,7 @@ func (c *Context) loadEntries(blocksSeen map[uint32]bool) ([]BookEntry, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if entry.Text, err = c.loadContent(hit.text, blockTypeHeading); err != nil {
|
if entry.Text, err = c.loadContent(hit.text, blockTypeText); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user