mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 11:00:08 +00:00 
			
		
		
		
	tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									921b9dce65
								
							
						
					
					
						commit
						886a69cbb2
					
				| @ -1703,7 +1703,6 @@ module.BaseParser = { | ||||
| 			this.expand(page, ast, state) | ||||
| 			: ast | ||||
| 
 | ||||
| 		//return [...ast]
 | ||||
| 		return ast | ||||
| 			// post handlers...
 | ||||
| 			.map(function(section){ | ||||
| @ -1893,7 +1892,9 @@ object.Constructor('Page', BasePage, { | ||||
| 
 | ||||
| 				// expand the body...
 | ||||
| 				var ast = expand ? | ||||
| 						[...this.__parser__.expand(this, body, state)] | ||||
| 						// XXX async...
 | ||||
| 						//[...this.__parser__.expand(this, body, state)]
 | ||||
| 						this.__parser__.expand(this, body, state) | ||||
| 					: body instanceof Array ? | ||||
| 						body | ||||
| 					// NOTE: wrapping the body in an array effectively 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user