fix bug producing broken links

This commit is contained in:
Grahame Grieve 2024-07-05 17:42:05 +08:00
parent 59d0334e0e
commit ea141b1ba9
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ public class StructureDefinitionRenderer extends ResourceRenderer {
row.setOpacity("0.5"); row.setOpacity("0.5");
} }
UnusedTracker used = new UnusedTracker(); UnusedTracker used = new UnusedTracker();
String ref = defPath == null ? null : defPath + anchorPrefix + element.getId(); String ref = defPath == null ? null : defPath + element.getId();
String sName = tail(element.getPath()); String sName = tail(element.getPath());
if (element.hasSliceName()) { if (element.hasSliceName()) {
sName = sName +":"+element.getSliceName(); sName = sName +":"+element.getSliceName();