diff --git a/Composer/packages/lib/code-editor/src/lg/hooks/useStringArray.ts b/Composer/packages/lib/code-editor/src/lg/hooks/useStringArray.ts index 9ace306cdc..4e9799655e 100644 --- a/Composer/packages/lib/code-editor/src/lg/hooks/useStringArray.ts +++ b/Composer/packages/lib/code-editor/src/lg/hooks/useStringArray.ts @@ -30,6 +30,13 @@ const getInitialItems = ( const fixMultilineItems = (items: TemplateBodyItem[]) => { return items.map((item) => { if (item.kind === 'variation' && /\r?\n/g.test(item.value)) { + // if it's an SSML tag, remove the line breaks. + if (/^