mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 11:00:08 +00:00 
			
		
		
		
	fixed list/generator macro rendering...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									01e59af5a1
								
							
						
					
					
						commit
						8a209dfa96
					
				| @ -983,7 +983,8 @@ object.Constructor('Page', BasePage, { | ||||
| 				handler = handler  | ||||
| 					?? async function(src, state){ | ||||
| 						return isolated ? | ||||
| 							{data: await this.get(src) | ||||
| 							//{data: await this.get(src)
 | ||||
| 							{data: await this | ||||
| 								.parse({ | ||||
| 									seen: state.seen,  | ||||
| 									depends, | ||||
| @ -1063,7 +1064,8 @@ object.Constructor('Page', BasePage, { | ||||
| 					'source', | ||||
| 					args, body, state, 'sources',  | ||||
| 					async function(src, state){ | ||||
| 						return that.parse(that.get(src).raw, state) }) }), | ||||
| 						//return that.parse(that.get(src).raw, state) }) }),
 | ||||
| 						return that.parse(this.raw, state) }) }), | ||||
| 		//
 | ||||
| 		// 	@quote(<src>)
 | ||||
| 		//
 | ||||
|  | ||||
| @ -23,6 +23,9 @@ | ||||
| *		should be: | ||||
| * 			await pwiki.parse('@source(/Test/list/static join=", ")') | ||||
| *				-> 'a, b, c, d, e, f' | ||||
| *		findings: | ||||
| *			- this is a problem with @source(..) while @include(..) works fine... | ||||
| *		FIXED, TESTING... | ||||
| * XXX TAGS should ./tags (i.e. .tagstr) return a list of tags??? | ||||
| * XXX TAGS | ||||
| * 		- add tags to page -- macro/filter | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user