From 162b1a69b5ace27bc68aad6b98f80e07412649cb Mon Sep 17 00:00:00 2001 From: chrox Date: Fri, 16 May 2014 14:01:47 +0800 Subject: [PATCH] don't clip page images when text is available --- plugins/evernote.koplugin/clip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/evernote.koplugin/clip.lua b/plugins/evernote.koplugin/clip.lua index 5c0526b73..c7f332f4f 100644 --- a/plugins/evernote.koplugin/clip.lua +++ b/plugins/evernote.koplugin/clip.lua @@ -233,7 +233,7 @@ function MyClipping:parseHighlight(highlights, book) clipping.sort = "highlight" clipping.time = self:getTime(item.datetime or "") clipping.text = self:getText(item.text) - if item.pos0 and item.pos1 and + if item.text == "" and item.pos0 and item.pos1 and item.pos0.x and item.pos0.y and item.pos1.x and item.pos1.y then -- highlights in reflowing mode don't have page in pos