mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +00:00 
			
		
		
		
	include wiki in options sent to generateTiddlerFilePath
This adds options.wiki to the object sent to the generateTiddlerFilePath The function generateTiddlerFilePath can take a wiki in the options object, but generateTiddlerFileInfo doesn't pass the wiki to it.
This commit is contained in:
		| @@ -225,7 +225,8 @@ exports.generateTiddlerFileInfo = function(tiddler,options) { | |||||||
| 	fileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{ | 	fileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{ | ||||||
| 		extension: contentTypeInfo.extension, | 		extension: contentTypeInfo.extension, | ||||||
| 		directory: options.directory, | 		directory: options.directory, | ||||||
| 		pathFilters: options.pathFilters | 		pathFilters: options.pathFilters, | ||||||
|  | 		wiki: options.wiki | ||||||
| 	}); | 	}); | ||||||
| 	return fileInfo; | 	return fileInfo; | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jed
					jed