From 26a778c3b27f15870fe4d8f10f51080919a7e417 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Thu, 21 Sep 2023 00:40:47 +0000 Subject: [PATCH] Might as well make the case consistent. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4468 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- apps/ssb/tf-compose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ssb/tf-compose.js b/apps/ssb/tf-compose.js index 1f4f264ee..09afbce1a 100644 --- a/apps/ssb/tf-compose.js +++ b/apps/ssb/tf-compose.js @@ -249,7 +249,7 @@ class TfComposeElement extends LitElement { `, ['"' + text.replace('"', '""') + '"', `%![%${text}%](%)%`]); for (let row of rows) { for (let match of row.content.matchAll(/!\[([^\]]*)\]\((&.*?)\)/g)) { - if (match[1].toLowerCase().indexOf(text) != -1) { + if (match[1].toLowerCase().indexOf(text.toLowerCase()) != -1) { results.push({key: match[1], value: match[2]}); } }