From 4914f6e5070d6d065c3843f02a75360d28fbaacb Mon Sep 17 00:00:00 2001 From: petko Date: Tue, 25 Jun 2024 12:28:34 +0000 Subject: PmSyntax (:comment :) add required space. git-svn-id: svn://pmwiki.org/pmwiki/trunk@4730 524c5546-5005-0410-9a3e-e25e191bd360 --- pub/guiedit/pmwiki.syntax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pub/guiedit/pmwiki.syntax.js b/pub/guiedit/pmwiki.syntax.js index 57799d27..ca95ea67 100644 --- a/pub/guiedit/pmwiki.syntax.js +++ b/pub/guiedit/pmwiki.syntax.js @@ -65,7 +65,7 @@ ['ptv1', '=meta>punct', /(\(:\w[\w-]*)(:[^\)][\s\S]*?)(:\))/g, /:/], // core meta directives - ['comment', '=comment', /(\(:comment)(.*?)(:\))/gi], + ['comment', '=comment', /(\(:comment) (.*?)(:\))/gi], ['skin', '*meta', /\(:no(left|right|title|action|(group)?(header|footer)) *:\)/gi ], ['meta0', '*meta', /\(:(no)?((link|space)wikiwords|linebreaks|toc) *:\)/gi], ['meta1', '*meta', /\(:(else\d*|if\d*|if\d*end|nl) *:\)/gi], -- cgit v1.2.3