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) {
|
||||
assert type == AnotationType.NoChange;
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4257,6 +4257,7 @@ public class StructureDefinitionRenderer extends ResourceRenderer {
|
|||
bindingDesc = new XhtmlNode(NodeType.Element, "div");
|
||||
bindingDesc.add(new XhtmlParser().parseFragment(hostMd.processMarkdown("Binding.description", newBinding)));
|
||||
} else {
|
||||
|
||||
StringType oldBinding = compBinding != null && compBinding.hasDescription() ? PublicationHacker.fixBindingDescriptions(context.getContext(), compBinding.getDescriptionElement()) : null;
|
||||
bindingDesc = compareMarkdown("Binding.description", newBinding, oldBinding, mode);
|
||||
}
|
||||
|
|
|
@ -255,6 +255,7 @@ public class RenderingContext {
|
|||
res.copyButton = copyButton;
|
||||
res.pkp = pkp;
|
||||
res.defaultStandardsStatus = defaultStandardsStatus;
|
||||
res.changeVersion = changeVersion;
|
||||
|
||||
res.terminologyServiceOptions = terminologyServiceOptions.copy();
|
||||
return res;
|
||||
|
|
|
@ -151,7 +151,7 @@ public class DefinitionNavigator {
|
|||
if (nameMap.containsKey(path)) {
|
||||
DefinitionNavigator master = nameMap.get(path);
|
||||
ElementDefinition cm = master.current();
|
||||
if (diff && cm.hasSliceName()) {
|
||||
if (diff) {
|
||||
// slice name - jumped straight into slicing
|
||||
children.add(dn);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue