mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Export highlights: empty annotations as nil instead of empty string (#11912)
Fixes Readwise exports
This commit is contained in:
committed by
GitHub
parent
1aefd80ea6
commit
9b1a21ef82
@@ -243,7 +243,7 @@ function MyClipping:parseAnnotations(annotations, book)
|
||||
page = item.pageno,
|
||||
time = self:getTime(item.datetime),
|
||||
text = self:getText(item.text),
|
||||
note = self:getText(item.note),
|
||||
note = item.note and self:getText(item.note),
|
||||
chapter = item.chapter,
|
||||
drawer = item.drawer,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user