Skip to content

Commit 6cb51db

Browse files
committed
Add comment and \r test for all test cases
1 parent ab0ad6d commit 6cb51db

File tree

3 files changed

+861
-6
lines changed

3 files changed

+861
-6
lines changed

src/angular-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function extractComments(text: string, shouldExtractComment: boolean) {
3838
}),
3939
};
4040

41-
return { text: text.slice(0, commentStart), comments: [comment] };
41+
return { text, comments: [comment] };
4242
}
4343

4444
function createAngularParseFunction<

0 commit comments

Comments
 (0)