diff options
Diffstat (limited to 'lib/output/base.js')
-rw-r--r-- | lib/output/base.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/output/base.js b/lib/output/base.js index dd62cff..688ecb7 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -106,9 +106,9 @@ Output.prototype.onOutputSVG = function(page, svg) { }; // Output an image as a file +// Normalize the relative link Output.prototype.onOutputImage = function(page, imgFile) { - // Don't replace it - return imgFile; + return page.relative(imgFile); }; // Finish the generation |