remove relative URL prefixing

This commit is contained in:
Grahame Grieve 2021-12-07 18:00:31 +11:00
parent 8d873be2a3
commit 1225bfbaee
1 changed files with 4 additions and 3 deletions

View File

@ -2492,7 +2492,8 @@ public class ProfileUtilities extends TranslatingUtilities {
i = i + 1; i = i + 1;
} else { } else {
b.append("]("); b.append("](");
b.append(webUrl); // disabled 7-Dec 2021 GDG - we don't want to fool with relative URLs at all?
// b.append(webUrl);
i = i + 1; i = i + 1;
} }
} else } else
@ -4773,7 +4774,7 @@ public class ProfileUtilities extends TranslatingUtilities {
private void genFixedValue(HierarchicalTableGenerator gen, Row erow, DataType value, boolean snapshot, boolean pattern, String corePath, boolean skipnoValue) { private void genFixedValue(HierarchicalTableGenerator gen, Row erow, DataType value, boolean snapshot, boolean pattern, String corePath, boolean skipnoValue) {
String ref = pkp.getLinkFor(corePath, value.fhirType()); String ref = pkp.getLinkFor(corePath, value.fhirType());
if (ref != null) { if (ref != null && ref.contains(".html")) {
ref = ref.substring(0, ref.indexOf(".html"))+"-definitions.html#"; ref = ref.substring(0, ref.indexOf(".html"))+"-definitions.html#";
} else { } else {
ref = "?gen-fv?"; ref = "?gen-fv?";