Activity Beta - Writing Conditioning over several lines using \n

0 votes
asked Apr 29, 2016 in Bug by anonymous

Hi everybody.

I have a problem with the following source:

@startuml
skinparam shadowing false
start
if ()
    #PaleGreen:dummy;
        note left
            dummy text
        end note
    #PaleGreen:dummy;
        note left
            dummy text
        end note
    if () then ([dummy text])
    #PaleGreen:dummy;
        note:dummy text
    #PaleGreen:dummy;
    else ([dummy text])
        note right
             dummy text
        end note
        if () then ( )
            #PaleGreen:dummy;
            end;
        else ([dummy\ntext])
            #PaleGreen:dummy;
            end;    
        endif    
    endif
else ([dummy text])
    #PaleGreen:dummy;
endif
stop
@enduml

The combination of a condition text over 2 lines produced with \n and a following end point causes the bug seen in the picture:

I hope you can help with this.

Best regards,

Timo

1 Answer

0 votes
answered Apr 29, 2016 by plantuml (226,800 points)
Thanks for the report!

This should be fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Tell us if it's not working for you.

Regards,
...