From 6a01a41778c870492e76ba83d2c0c7bae8b4277f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 29 Aug 2022 03:42:34 +0300 Subject: [PATCH] now stripping out html comments too -- experimenting... Signed-off-by: Alex A. Naanou --- pwiki/parser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pwiki/parser.js b/pwiki/parser.js index 5ecfdd1..56155e3 100755 --- a/pwiki/parser.js +++ b/pwiki/parser.js @@ -124,6 +124,9 @@ module.BaseParser = { '<\\s*pwiki-comment[^>]*>.*?<\\/\\s*pwiki-comment\\s*>', // '<\\s*pwiki-comment[^\\/>]*\\/>', + + // html comments... + '', ].join('|') +')', 'smig'),