mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 02:50:08 +00:00 
			
		
		
		
	tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									809b592bd6
								
							
						
					
					
						commit
						2c6c63fa4f
					
				
							
								
								
									
										10
									
								
								wiki.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								wiki.js
									
									
									
									
									
								
							| @ -177,7 +177,8 @@ var macro = { | |||||||
| 			function(context, args, text, state){ | 			function(context, args, text, state){ | ||||||
| 				var name = args.name | 				var name = args.name | ||||||
| 
 | 
 | ||||||
| 				//text = text || args.text
 | 				// XXX
 | ||||||
|  | 				text = text || args.text | ||||||
| 				text = this.parse(context, text, state, true) | 				text = this.parse(context, text, state, true) | ||||||
| 
 | 
 | ||||||
| 				if(state.slots[name] == null){ | 				if(state.slots[name] == null){ | ||||||
| @ -266,9 +267,10 @@ var macro = { | |||||||
| 				args[((stage[res.name] || {}).macro_args || [])[i] || i] = e | 				args[((stage[res.name] || {}).macro_args || [])[i] || i] = e | ||||||
| 			}) | 			}) | ||||||
| 
 | 
 | ||||||
| 			if(args.text){ | 			// XXX not sure about this....
 | ||||||
| 				res.text = args.text | 			//if(args.text){
 | ||||||
| 			} | 			//	res.text = args.text
 | ||||||
|  | 			//}
 | ||||||
| 
 | 
 | ||||||
| 		// html-like...
 | 		// html-like...
 | ||||||
| 		} else { | 		} else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user