Can a defined constant be parsed correctly after \n?

0 votes
asked Apr 25 in bug by boshka (1,320 points)
recategorized Apr 25 by boshka
Can the defined TEST be parsed correctly if positioned right after \n?
 
@startuml
 
!define TEST something
a[#red]->b: test:\nTEST
note right: The test is wrong:\nTEST
a-[#green]>b: test:\n TEST
note left: The test is correct:\n TEST
 
@enduml
 

Currently you need to add an extra space to get it parsed

1 Answer

0 votes
answered Apr 25 by plantuml (134,570 points)
Thanks for the feedback : this is a bug.

It should be fixed in last release https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

Regards,
...