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:

@startuml
 
salt
  {+
  Random Walk segmentation
  ~~
  {+
  Define images
  Open image:  |  ^Original image ^
  Open seed:   |  ^Seed image     ^
  }
  }
@enduml
 
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 (131,770 points)
selected Jul 21, 2016 by baniuk
 
Best answer
Not sure where this comes from neither...

However, in last beta:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
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!

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