fix for testing IGs
This commit is contained in:
parent
f7c606e88b
commit
87a9a58771
|
@ -35,7 +35,7 @@ public class VersionComparisonAnnotation {
|
||||||
public void changed(Base orig) {
|
public void changed(Base orig) {
|
||||||
assert type == AnotationType.NoChange;
|
assert type == AnotationType.NoChange;
|
||||||
type = AnotationType.Changed;
|
type = AnotationType.Changed;
|
||||||
if (original != null && orig.isPrimitive() && orig.primitiveValue().length() < 120) { // arbitrary, but we don't a whack of markdown
|
if (orig != null && orig.isPrimitive() && orig.primitiveValue().length() < 120) { // arbitrary, but we don't a whack of markdown
|
||||||
this.original = orig.primitiveValue();
|
this.original = orig.primitiveValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4257,6 +4257,7 @@ public class StructureDefinitionRenderer extends ResourceRenderer {
|
||||||
bindingDesc = new XhtmlNode(NodeType.Element, "div");
|
bindingDesc = new XhtmlNode(NodeType.Element, "div");
|
||||||
bindingDesc.add(new XhtmlParser().parseFragment(hostMd.processMarkdown("Binding.description", newBinding)));
|
bindingDesc.add(new XhtmlParser().parseFragment(hostMd.processMarkdown("Binding.description", newBinding)));
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
StringType oldBinding = compBinding != null && compBinding.hasDescription() ? PublicationHacker.fixBindingDescriptions(context.getContext(), compBinding.getDescriptionElement()) : null;
|
StringType oldBinding = compBinding != null && compBinding.hasDescription() ? PublicationHacker.fixBindingDescriptions(context.getContext(), compBinding.getDescriptionElement()) : null;
|
||||||
bindingDesc = compareMarkdown("Binding.description", newBinding, oldBinding, mode);
|
bindingDesc = compareMarkdown("Binding.description", newBinding, oldBinding, mode);
|
||||||
}
|
}
|
||||||
|
|
|
@ -255,6 +255,7 @@ public class RenderingContext {
|
||||||
res.copyButton = copyButton;
|
res.copyButton = copyButton;
|
||||||
res.pkp = pkp;
|
res.pkp = pkp;
|
||||||
res.defaultStandardsStatus = defaultStandardsStatus;
|
res.defaultStandardsStatus = defaultStandardsStatus;
|
||||||
|
res.changeVersion = changeVersion;
|
||||||
|
|
||||||
res.terminologyServiceOptions = terminologyServiceOptions.copy();
|
res.terminologyServiceOptions = terminologyServiceOptions.copy();
|
||||||
return res;
|
return res;
|
||||||
|
|
|
@ -151,7 +151,7 @@ public class DefinitionNavigator {
|
||||||
if (nameMap.containsKey(path)) {
|
if (nameMap.containsKey(path)) {
|
||||||
DefinitionNavigator master = nameMap.get(path);
|
DefinitionNavigator master = nameMap.get(path);
|
||||||
ElementDefinition cm = master.current();
|
ElementDefinition cm = master.current();
|
||||||
if (diff && cm.hasSliceName()) {
|
if (diff) {
|
||||||
// slice name - jumped straight into slicing
|
// slice name - jumped straight into slicing
|
||||||
children.add(dn);
|
children.add(dn);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue