Tag commands enum providers

This commit is contained in:
Wolfsblvt
2024-06-16 02:59:37 +02:00
parent bba16f5263
commit 51d7ba728f
3 changed files with 57 additions and 39 deletions

View File

@@ -2339,6 +2339,10 @@ export function substituteParamsExtended(content, additionalMacro = {}) {
* @returns {string} The string with substituted parameters.
*/
export function substituteParams(content, _name1, _name2, _original, _group, _replaceCharacterCard = true, additionalMacro = {}) {
if (!content) {
return '';
}
const environment = {};
if (typeof _original === 'string') {