🐛 (text) Fix text bubble content parsing when starting with variable
Closes #1594
This commit is contained in:
5
packages/variables/isSingleVariable.ts
Normal file
5
packages/variables/isSingleVariable.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const isSingleVariable = (value: string | undefined): boolean =>
|
||||
!!value &&
|
||||
value.startsWith('{{') &&
|
||||
value.endsWith('}}') &&
|
||||
value.split('{{').length === 2
|
||||
Reference in New Issue
Block a user