component with long comment with "as"

0 votes
asked Feb 26 in Bug by boshka (2,770 points)
shouldn't this work?

@startuml

component a [This component
has a long comment
on several lines
] as a {

}
@enduml

1 Answer

+1 vote
answered Feb 27 by Serge Wenger Work (9,670 points)
selected Feb 27 by boshka
 
Best answer

This work:

@startuml
component "This component\nhas a long comment\non several lines" as a {

}
@enduml

commented Feb 27 by boshka (2,770 points)
many thanks!
...