This commit is contained in:
Cleon 2022-12-04 11:05:47 +13:00
parent 84df5aa4e4
commit 69606b03b1

View file

@ -358,11 +358,10 @@ export class Compiler{
}
//console.debug( app.vault.getAbstractFileByPath(filename) );
const sanFilename = normalizePath(filename)
.replace('/', '_')
const outputFilename = normalizePath(filename)
.replace('..', '_')
;
const outputFilename = normalizePath( `${activeFile.basename} ${sanFilename}` );
//const outputFilename = normalizePath( `${activeFile.basename} ${sanFilename}` );
const newFilepath = normalizePath( activeFile.parent.path + "/" + outputFilename );
//console.debug({outputFilename,newFilepath});