Skip to content

Commit 4b8e007

Browse files
khangtrannnJeanMeche
authored andcommitted
fix(): improve template format
1 parent 896260c commit 4b8e007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/prettier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export async function formatJs(code: string): Promise<string> {
1414

1515
export async function formatAngularTemplate(template: string): Promise<string> {
1616
return prettier.format(template, {
17-
parser: 'html',
17+
parser: 'angular',
1818
plugins: [parserHtml],
1919
});
2020
}

0 commit comments

Comments
 (0)