mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
lib/output/ebook/onPage.js: Fix missing page's filepath at Modifiers.inlineAssets() call
This commit is contained in:
@@ -12,7 +12,7 @@ function onPage(output, page) {
|
||||
|
||||
// Inline assets
|
||||
return Modifiers.modifyHTML(page, [
|
||||
Modifiers.inlineAssets(options.get('root'))
|
||||
Modifiers.inlineAssets(options.get('root'), page.getFile().getPath())
|
||||
])
|
||||
|
||||
// Write page using website generator
|
||||
|
||||
Reference in New Issue
Block a user