Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Can a defined constant be parsed correctly after \n?

0 votes
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

asked Apr 25 in bug by boshka (1,150 points)
recategorized Apr 25 by boshka

1 Answer

0 votes
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,
answered Apr 25 by plantuml (126,850 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...