diff --git a/lib/utils/page.js b/lib/utils/page.js index 499c9a8ee..9b33b9619 100644 --- a/lib/utils/page.js +++ b/lib/utils/page.js @@ -193,7 +193,7 @@ function normalizeHtml(src, options) { // Keep it as it is } else if (links.isRelative(href)) { var parts = url.parse(href); - var absolutePath = path.join(options.base, parts.pathname); + var absolutePath = links.join(options.base, parts.pathname); var anchor = parts.hash || ""; // If is in navigation relative: transform as content