diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-edit.element.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-edit.element.ts index 114dc5683d..e37eb0a027 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-edit.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/templates/workspace/template-workspace-edit.element.ts @@ -87,6 +87,8 @@ export class UmbTemplateWorkspaceEditElement extends UmbLitElement { const match = RegexString.exec(this._content ?? ''); if (match) { + if (match[2] === 'null') return null; + return match[2].replace(/"/g, ''); }