Fix comments get duplicated in angular interpolation (#17862)
This commit is contained in:
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 }}
|
||||
Reference in new issue
Block a user