regenerate dist
This commit is contained in:
+1
-1
@@ -52054,7 +52054,7 @@ function parseTemplateVariables(input) {
|
|||||||
* Replace template variables in text using {{variable}} syntax
|
* Replace template variables in text using {{variable}} syntax
|
||||||
*/
|
*/
|
||||||
function replaceTemplateVariables(text, variables) {
|
function replaceTemplateVariables(text, variables) {
|
||||||
return text.replace(/\{\{(\w+)\}\}/g, (match, variableName) => {
|
return text.replace(/\{\{([\w.-]+)\}\}/g, (match, variableName) => {
|
||||||
if (variableName in variables) {
|
if (variableName in variables) {
|
||||||
return variables[variableName];
|
return variables[variableName];
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user