ERD arrow heads result in syntax error when <style> is used before that point

0 votes
asked Jul 6, 2020 in Bug by bklaase (140 points)
steps to reproduce:

   @startuml
   ent1 ||--o{ ent2  
   @enduml

works. but as soon as some <style> tags are encountered these type of arrowheads break:

for example:

   @startuml
   <style>
   wbsDiagram {
      RoundCorner 3
   }
   </style>
   ent1 ||--o{ ent2  
   @enduml

1 Answer

+1 vote
answered Jul 6, 2020 by The-Lu (64,340 points)

Hello B.,

  • In which version of PlantUML ?

Because with the last version (v1.2020.15) your code works:

@startuml
<style>
wbsDiagram {
  RoundCorner 3
}
</style>
ent1 ||--o{ ent2
@enduml


[Click to see on PlantUML online server]

or with a test of arrow color:


[Click...]

If that can help,
Regards,
Th.

commented Jul 14, 2020 by bklaase (140 points)
Thanks for responding! I'm on 1.2020.13 (choco package).

It works now, thanks!
...