diff --git a/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json b/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json index d7711577168..4794b38e2e1 100644 --- a/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json +++ b/extensions/typescript-basics/syntaxes/MarkdownDocumentationInjection.tmLanguage.json @@ -7,7 +7,7 @@ ], "repository": { "markdown-comment": { - "begin": "(?<=/\\*\\*)\\s*$", + "begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$", "while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)", "patterns": [ {