class: Line breaks in table breaks the table

0 votes
asked Jul 27 in bug by boshka (1,220 points)
Can this be worked around?
 
@startuml
 
 
class "Test Table" as root.Test #silver {
    .. Properties ..
    Description: <color:red>test</color>
| Col A | Col B |\n| text\nA | text B |
    .. Objects ..
    operations: [Array]
}
 
 
@enduml
 

1 Answer

0 votes
answered Aug 5 by laverdure (210 points)

hi, 

is it something like | Col A  | Col B  |

                              | Text A | Text B | 

you want ? two columns and two raws ? 

if yes, just remove \n after text and before A to make it work:

 | Col A  | Col B  |\n| Text A | Text B | 

commented Sep 26 by boshka (1,220 points)
no, i want those line breaks
...