Skip to content

Commit 8ac95ae

Browse files
committed
Add missing toLowerCase for context tags
1 parent 80d9f42 commit 8ac95ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scripts/db/AppDB.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export default class AppDB extends Dexie {
3434
]);
3535
console.debug("tagSet", [...tagSet]);
3636
spark.tags = [...tagSet].map(removeHash);
37-
spark.contextTags = spark.contextTags.map(removeHash);
37+
spark.contextTags = spark.contextTags
38+
.map(removeHash)
39+
.map<string>(toLowerCase);
3840

3941
// we don't have the original anymore, so this has to be good enough
4042
spark.originalHtml = spark.html;

0 commit comments

Comments
 (0)