mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-04 04:50:09 +00:00 
			
		
		
		
	now stripping out html comments too -- experimenting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									3f1afe8294
								
							
						
					
					
						commit
						6a01a41778
					
				@ -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'),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user