mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-04 13:00:10 +00:00 
			
		
		
		
	finally a thread to pull on in the sync bug...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									39e810aa60
								
							
						
					
					
						commit
						cea909d693
					
				@ -438,9 +438,15 @@ module.BaseParser = {
 | 
			
		||||
	// 		the ast is constructed the other should be part of the ast...
 | 
			
		||||
	// XXX ASYNC this does not yet work as a replacement for .expand(..), 
 | 
			
		||||
	// 		not sure why...
 | 
			
		||||
	// 		...can't yet reproduce outside the page rendering...
 | 
			
		||||
	// 		...seems to be an odd sync issue, either in one of the macro
 | 
			
		||||
	// 		handlers or in the way the defaults are applied...
 | 
			
		||||
	//		...seems that this breaks how slots are handled...
 | 
			
		||||
	//		to reproduce:
 | 
			
		||||
	//			new code:
 | 
			
		||||
	//				await p.pwiki.parse('<slot moo/>!!! <slot moo>moo</slot>')
 | 
			
		||||
	//					-> '!!! '
 | 
			
		||||
	//			old code:
 | 
			
		||||
	//				await p.pwiki.parse('<slot moo/>!!! <slot moo>moo</slot>')
 | 
			
		||||
	//					-> 'moo!!! '
 | 
			
		||||
	//		...does not seem to affect named macros...
 | 
			
		||||
	_expand: function(page, ast, state={}){
 | 
			
		||||
		var that = this
 | 
			
		||||
		ast = ast == null ?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user