fix: handle links to same host but different port as external
This commit is contained in:
		| @@ -50,7 +50,7 @@ module.exports = { | ||||
|       } | ||||
|  | ||||
|       // -> Strip host from local links | ||||
|       if (isHostSet && href.indexOf(WIKI.config.host) === 0) { | ||||
|       if (isHostSet && href.indexOf(`${WIKI.config.host}/`) === 0) { | ||||
|         href = href.replace(WIKI.config.host, '') | ||||
|       } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user