Avoid resolving paths on fragments (#357)

Fixes an issue where modules with fragment paths are resolved against the URI path.
This commit is contained in:
Philip K.F. Hölzenspies
2024-03-26 16:16:02 +01:00
committed by GitHub
parent c9ed183891
commit e347b26cf6
5 changed files with 5 additions and 5 deletions

View File

@@ -161,7 +161,7 @@ data class DocPackageInfo(
"pkl:/" -> "pkl:${moduleName.substring(4)}".toUri()
else -> {
val path = getModulePath(moduleName, moduleNamePrefix).uriEncoded + ".pkl"
URI(importUri).resolve(path)
URI(importUri + path)
}
}