Fix comments get duplicated in angular interpolation (#17862)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-09-23 17:42:16 +08:00
1 parent 70ec01f41a
commit 29622cc4f7
7 files changed
+111 -33

No files matched your search

@@ -16,3 +16,19 @@ printWidth: 80
================================================================================
`;
exports[`comments.html format 1`] = `
====================================options=====================================
parsers: ["angular"]
printWidth: 80
| printWidth
=====================================input======================================
{{a() // comment }}
=====================================output=====================================
{{
a() // comment
}}
================================================================================
`;
@@ -0,0 +1 @@
{{a() // comment }}