now stripping out html comments too -- experimenting...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-08-29 03:42:34 +03:00
parent 3f1afe8294
commit 6a01a41778

View File

@ -124,6 +124,9 @@ module.BaseParser = {
'<\\s*pwiki-comment[^>]*>.*?<\\/\\s*pwiki-comment\\s*>', '<\\s*pwiki-comment[^>]*>.*?<\\/\\s*pwiki-comment\\s*>',
// <pwiki-comment .. /> // <pwiki-comment .. />
'<\\s*pwiki-comment[^\\/>]*\\/>', '<\\s*pwiki-comment[^\\/>]*\\/>',
// html comments...
'<!--.*?-->',
].join('|') +')', 'smig'), ].join('|') +')', 'smig'),