fix issue resolving contained resource

This commit is contained in:
Grahame Grieve 2024-06-01 23:39:49 +10:00
parent 674f834f8d
commit 7512347c40
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ public abstract class ResourceRenderer extends DataRenderer {
if (url.startsWith("#") && res != null) {
for (ResourceWrapper r : res.getContained()) {
if (r.getId().equals(url.substring(1)))
return new ResourceWithReference(ResourceReferenceKind.CONTAINED, null, r);
return new ResourceWithReference(ResourceReferenceKind.CONTAINED, url, r);
}
return null;
}