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.

Salt fails when there is an empty line between @startuml and salt keywords

0 votes

I am not sure whether it is bug or feature but the following diagram will fail:

  Random Walk segmentation
  Define images
  Open image:  |  ^Original image ^
  Open seed:   |  ^Seed image     ^
because of the empty line after @startuml keyword. I use plantuml with Doxygen tool and unfortunatelly Doxygen does not recognize @startsalt and it also adds an empty line during preprocessing stage even there is no such line in original code.


asked Jul 21, 2016 in bug by baniuk (150 points)

1 Answer

0 votes
Best answer
Not sure where this comes from neither...

However, in last beta:
empty lines are ignored just after the @startuml, so it should work fine now.

You can download this new jar and replace your existing version (just do a backup copy just-in-case).

Tell us if it's not working for you!

answered Jul 21, 2016 by plantuml (125,190 points)
selected Jul 21, 2016 by baniuk
Beta solves this problem, Thanks!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter