Hello,
This is a bug. You already ask this 2 days ago on the forum. PlantUML is a very good open source product. "break" is quite new so there is still some bugs.
I reduce the problem to the minimal (break in elsif of a repeat loop ):
@startuml
start
repeat
if (condition A ? ) then (yes)
:Text 6;
elseif (condition B ? ) then (yes)
break
endif
repeat while (condition C ? )is (yes) not (no)
stop
@enduml
As workaround (not perfect it is a workaround):
@startuml
skinparam monochrome true
start
:Text ;
repeat
:Text 0;
if (condition A ? ) then (yes)
:Text 6;
elseif (condition B ? ) then (yes)
:break;
else
:Text7;
endif
repeat while (condition C ? )is (yes) not (no)
->
:Text 8;
stop
@enduml