1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Clipper: Fixes #1876: Handle more styles of named anchors, including spans

This commit is contained in:
Laurent Cozic
2019-10-12 00:18:40 +02:00
parent 8ef5c96cb6
commit b0a4a10dcc
8 changed files with 128 additions and 122 deletions

View File

@ -19,8 +19,7 @@ class ResourceService extends BaseService {
let foundNoteWithEncryption = false;
while (true) {
const changes = await ItemChange.modelSelectAll(
`
const changes = await ItemChange.modelSelectAll(`
SELECT id, item_id, type
FROM item_changes
WHERE item_type = ?
@ -28,7 +27,7 @@ class ResourceService extends BaseService {
ORDER BY id ASC
LIMIT 10
`,
[BaseModel.TYPE_NOTE, Setting.value('resourceService.lastProcessedChangeId')]
[BaseModel.TYPE_NOTE, Setting.value('resourceService.lastProcessedChangeId')]
);
if (!changes.length) break;