Skip to content

Commit

Permalink
stringify values
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 committed Dec 11, 2024
1 parent 9ada8a4 commit d7dee37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/generators/angular/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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} `;
}
Expand Down

0 comments on commit d7dee37

Please sign in to comment.