mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Fix modifiers for ebook format
This commit is contained in:
@@ -16,11 +16,11 @@ function inlineAssets(rootFolder, currentFile) {
|
||||
|
||||
// Resolving images and fetching external images should be
|
||||
// done before svg conversion
|
||||
.then(resolveImages.bind(null, currentFile))
|
||||
.then(fetchRemoteImages.bind(null, rootFolder, currentFile))
|
||||
.then(resolveImages.bind(null, currentFile, $))
|
||||
.then(fetchRemoteImages.bind(null, rootFolder, currentFile, $))
|
||||
|
||||
.then(svgToImg.bind(null, rootFolder, currentFile))
|
||||
.then(svgToPng.bind(null, rootFolder, currentFile));
|
||||
.then(svgToImg.bind(null, rootFolder, currentFile, $))
|
||||
.then(svgToPng.bind(null, rootFolder, currentFile, $));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user