Skip to content

Commit

Permalink
[fix] Crash when exporting notes (#5677)
Browse files Browse the repository at this point in the history
Fixes #5609
  • Loading branch information
mustafa-001 authored and Frenzie committed Dec 9, 2019
1 parent 55f3575 commit 7b0b5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/evernote.koplugin/clip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7b0b5d5

Please sign in to comment.