#53 - also remove diacritics from the cache

This commit is contained in:
Simon Cambier
2022-06-07 12:38:46 +02:00
parent ca808502eb
commit 7b741fa357

View File

@@ -251,7 +251,7 @@ export async function addToIndex(file: TAbstractFile): Promise<void> {
}
// Fetch content from the cache to index it as-is
const content = await app.vault.cachedRead(file)
const content = removeDiacritics(await app.vault.cachedRead(file))
// Make the document and index it
const note: IndexedNote = {