We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d02ac20 commit 440e563Copy full SHA for 440e563
packages/frontend/src/api/utils/customDataUtils.tsx
@@ -216,7 +216,7 @@ export const evaluateTranslationTemplate: (
216
template: string,
217
data: TCustomItem
218
) => string = (template, data) => {
219
- const TEMPLATE_REGEX = /\{\{(\w+)\}\}/g;
+ const TEMPLATE_REGEX = /\{\{([^\}]+)\}\}/g;
220
if (!TEMPLATE_REGEX.test(template)) {
221
const value = getValueByPath(data, template);
222
if (value === undefined) {
0 commit comments