From d7dee371ad1e2851d2f5b024a15fb96097d4688c Mon Sep 17 00:00:00 2001 From: Daniel Moore Date: Wed, 11 Dec 2024 14:08:21 -0800 Subject: [PATCH] stringify values --- packages/core/src/generators/angular/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/generators/angular/index.ts b/packages/core/src/generators/angular/index.ts index 6537a5f9fa..c7c35ae389 100644 --- a/packages/core/src/generators/angular/index.ts +++ b/packages/core/src/generators/angular/index.ts @@ -461,7 +461,7 @@ export const blockToAngular = ({ if (attributes) { Object.entries(attributes).forEach(([key, value]) => { if (value) { - str += `${key}=${value} `; + str += `${key}=${JSON.stringify(value)} `; } else { str += `${key} `; }