Skip to content

Commit

Permalink
Fix insertion pattern for xml-based files (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernAtBosch authored Oct 24, 2024
1 parent ff0f76a commit 1242bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const filetypesForCommentInsertion: CommentInsertionHint[] = [
{
ext: ['.html', '.htm', '.xml', '.tpl'],
commentTemplate: '<!-- %COMMENT% -->',
insertAfterLineMatcher: new RegExp(`\\<\\?xml\\s.*?\\s\\?\\>`),
insertAfterLineMatcher: new RegExp(`\\<\\?xml\\s.*?\\?\\>`),
},
{
ext: '.json',
Expand Down

0 comments on commit 1242bc9

Please sign in to comment.