From 3f843f29bf02a45f970659560481419c528d6bfb Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Sun, 22 Aug 2021 10:06:37 -0700 Subject: [PATCH] directives arent comments --- src/lib/components/editor/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/editor/util.ts b/src/lib/components/editor/util.ts index e8c831e4..ea2825dd 100644 --- a/src/lib/components/editor/util.ts +++ b/src/lib/components/editor/util.ts @@ -96,7 +96,7 @@ export const initEditor = (monacoEditor): void => { [/#(\d|[a-zA-Z])*;/, 'html.entity/hex-color-code'], [/#(?:[0-9a-fA-F]{3}){1,2}/, 'html.entity/hex-color-code'], [/<<.+>>/, 'annotation'], - [/%%.*$/, 'comment'] + [/%%.*(?