Can a defined constant be parsed correctly after \n?

0 votes
asked Apr 25, 2017 in Bug by boshka (3,920 points)
recategorized Apr 25, 2017 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, 2017 by plantuml (294,960 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,
...