Fix rendering path for value set references for kindling

This commit is contained in:
Grahame Grieve 2024-09-17 14:11:13 +08:00
parent 9dae4118ae
commit 0d8c5942e7
1 changed files with 2 additions and 2 deletions

View File

@ -750,9 +750,9 @@ public class ValueSetRenderer extends TerminologyRenderer {
if (cs == null) {
return "?cs-n?";
}
String ref = (String) cs.getUserData("filename");
String ref = cs.getWebPath();
if (ref == null) {
ref = (String) cs.getWebPath();
ref = cs.getUserString("filename");
}
return ref == null ? null : ref.replace("\\", "/");
}