diff --git a/src/lib/codegenerator/generator.js b/src/lib/codegenerator/generator.js index fc562e76..d6362ece 100644 --- a/src/lib/codegenerator/generator.js +++ b/src/lib/codegenerator/generator.js @@ -326,8 +326,12 @@ const cast = (val = '', key = false, component = 'component.') => { if (val.startsWith('$')) { castedValue = `${component}${val.replace('$', '')}` } else { - // unescaped single quotes must be escaped - castedValue = `'${parseInlineContent(val.replace(/(?