Might as well make the case consistent.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4468 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
9fecbd97e8
commit
26a778c3b2
@ -249,7 +249,7 @@ class TfComposeElement extends LitElement {
|
|||||||
`, ['"' + text.replace('"', '""') + '"', `%![%${text}%](%)%`]);
|
`, ['"' + text.replace('"', '""') + '"', `%![%${text}%](%)%`]);
|
||||||
for (let row of rows) {
|
for (let row of rows) {
|
||||||
for (let match of row.content.matchAll(/!\[([^\]]*)\]\((&.*?)\)/g)) {
|
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]});
|
results.push({key: match[1], value: match[2]});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user