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

0 votes
asked Jul 21, 2016 in Bug by baniuk (150 points)

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.


1 Answer

0 votes
answered Jul 21, 2016 by plantuml (144,190 points)
selected Jul 21, 2016 by baniuk
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!

commented Jul 21, 2016 by baniuk (150 points)
Beta solves this problem, Thanks!