Export highlights: empty annotations as nil instead of empty string (#11912)
Fixes Readwise exports
This commit is contained in:
1 parent
1aefd80ea6
commit
9b1a21ef82
1 file changed
+1
-1
@@ -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