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:
1 parent
c9ed183891
commit
e347b26cf6
5 files changed
+5
-5
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user