diff --git a/rsconcept/frontend/src/features/rsform/components/rs-input/text-editing.ts b/rsconcept/frontend/src/features/rsform/components/rs-input/text-editing.ts index 20f34be9..26d6ede1 100644 --- a/rsconcept/frontend/src/features/rsform/components/rs-input/text-editing.ts +++ b/rsconcept/frontend/src/features/rsform/components/rs-input/text-editing.ts @@ -290,7 +290,7 @@ export class RSTextWrapper extends CodeMirrorWrapper { if (!text.startsWith('ℬ') || !text.endsWith(')')) { return false; } - const openParenIndex = text.indexOf('(', 1); // start after 'ℬ' + const openParenIndex = text.indexOf('(', 1); if (openParenIndex === -1) { return false; }