Handle case where Contact.value has extensions instead of a string value
This commit is contained in:
parent
e51534030e
commit
674f834f8d
|
@ -1483,7 +1483,7 @@ public class DataRenderer extends Renderer implements CodeResolver {
|
|||
x.addText(displayContactPoint(contact));
|
||||
break;
|
||||
case PHONE:
|
||||
if (contact.hasValue() && contact.getValue().startsWith("+")) {
|
||||
if (contact.hasPrimitiveValue() && contact.getValue().startsWith("+")) {
|
||||
x.ah("tel:"+contact.getValue().replace(" ", "")).tx(contact.getValue());
|
||||
} else {
|
||||
x.addText(displayContactPoint(contact));
|
||||
|
|
|
@ -105,7 +105,7 @@ public class ExampleScenarioRenderer extends TerminologyRenderer {
|
|||
for (ExampleScenarioProcessStepComponent step: process.getStep()) {
|
||||
plantUml += toPlantUml(step, stepPrefix(prefix, step, stepCount), scen, actorsActive, actorKeys);
|
||||
if (step.getPause())
|
||||
plantUml += context.formatPhrase(RenderingContext.EX_SCEN_TIME);
|
||||
plantUml += context.formatPhrase(RenderingContext.EX_SCEN_TIME)+"\n";
|
||||
stepCount++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue