1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-03 15:32:30 +02:00

All: Fixes #240: Tags should be handled in a case-insensitive way

This commit is contained in:
Laurent Cozic 2018-02-19 18:38:27 +00:00
parent c70ecb30a5
commit 4966d74864

View File

@ -116,7 +116,7 @@ class Tag extends BaseItem {
}
for (let i = 0; i < previousTags.length; i++) {
if (addedTitles.indexOf(previousTags[i].title) < 0) {
if (addedTitles.indexOf(previousTags[i].title.toLowerCase()) < 0) {
await this.removeNote(previousTags[i].id, noteId);
}
}