fix bug producing html entities in XHTML in resources when rendering
This commit is contained in:
parent
28d107b4ae
commit
4fa05d8297
|
@ -239,11 +239,9 @@ public class ElementWrappers {
|
||||||
if (div == null) {
|
if (div == null) {
|
||||||
div = new org.hl7.fhir.r5.elementmodel.Element("div", txt.getProperty().getChild(null, "div"));
|
div = new org.hl7.fhir.r5.elementmodel.Element("div", txt.getProperty().getChild(null, "div"));
|
||||||
txt.getChildren().add(div);
|
txt.getChildren().add(div);
|
||||||
div.setValue(new XhtmlComposer(XhtmlComposer.XML, context.isPretty()).compose(x));
|
}
|
||||||
}
|
div.setValue(new XhtmlComposer(XhtmlComposer.XML, context.isPretty()).compose(x));
|
||||||
div.setValue(x.toString());
|
|
||||||
div.setXhtml(x);
|
div.setXhtml(x);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue