fix: host ref in html-core renderer (#1021)
Fixing typo on: "server\modules\rendering\html-core\renderer.js" Lines 40 and 41. Invalid reference to "WIKI.config.site.host" -- should be: "WIKI.config.host" This was causing rendering issues when attempting to create some sample pages; such as: https://github.com/jbaez001/markdown-cheatsheet
This commit is contained in:
parent
69e644e18f
commit
3ab7bcf8ea
@ -37,8 +37,8 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// -> Strip host from local links
|
// -> Strip host from local links
|
||||||
if (isHostSet && href.indexOf(WIKI.config.site.host) === 0) {
|
if (isHostSet && href.indexOf(WIKI.config.host) === 0) {
|
||||||
href = href.replace(WIKI.config.site.host, '')
|
href = href.replace(WIKI.config.host, '')
|
||||||
}
|
}
|
||||||
|
|
||||||
// -> Assign local / external tag
|
// -> Assign local / external tag
|
||||||
|
Loading…
Reference in New Issue
Block a user