diff --git a/plugins/evernote.koplugin/clip.lua b/plugins/evernote.koplugin/clip.lua index 59174ae96..917106f78 100644 --- a/plugins/evernote.koplugin/clip.lua +++ b/plugins/evernote.koplugin/clip.lua @@ -287,7 +287,7 @@ function MyClipping:parseHistoryFile(clippings, history_file, doc_file) title = title, author = author, } - self:parseHighlight(stored.highlight, stored.bookmarks, clippings.title) + self:parseHighlight(stored.highlight, stored.bookmarks, clippings[title]) end end @@ -318,7 +318,7 @@ function MyClipping:parseCurrentDoc(view) title = title, author = author, } - self:parseHighlight(view.highlight.saved, view.ui.bookmark.bookmarks, clippings.title) + self:parseHighlight(view.highlight.saved, view.ui.bookmark.bookmarks, clippings[title]) return clippings end