From 386fd72f1e7a6da38921e97d9cec819d3a523c9b Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 23 Oct 2024 17:28:42 +0100 Subject: [PATCH] Fix highlighting --- static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.js b/static/index.js index c09faea..01d5b66 100644 --- a/static/index.js +++ b/static/index.js @@ -28,7 +28,7 @@ const prismGrammar = { greedy: true, }, module: { - pattern: /([a-z][a-z0-9_]*)\./, + pattern: /([a-z][a-z0-9_]*)\.(?!{)/, inside: { punctuation: /\./, },