From 41e16b3c5f6f01087215fc997d058033a238445d Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Fri, 12 Apr 2024 06:49:43 +1000 Subject: [PATCH] chore(developer): use keyboard3 tag rather than DTD to identify LDML keyboard xml files Relates to #10469. Apply same test in kmc that we are using in TIKE. --- common/web/types/src/kpj/keyman-developer-project.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/web/types/src/kpj/keyman-developer-project.ts b/common/web/types/src/kpj/keyman-developer-project.ts index 43e5b3563e1..76f3ab709a2 100644 --- a/common/web/types/src/kpj/keyman-developer-project.ts +++ b/common/web/types/src/kpj/keyman-developer-project.ts @@ -40,7 +40,7 @@ export class KeymanDeveloperProject { try { const data = this.callbacks.loadFile(fullPath); const text = new TextDecoder().decode(data); - if(!text?.match(/ldmlKeyboard3\.dtd/)) { + if(!text?.match(/