Closed
Description
Symfony version(s) affected
5.4+
Description
When I use \n
in the label of a transition, the PNG file generated from the PUML file shows text with and without the color applied.
Using quotes breaks the generation of the PNG image, but it may be the expected behaviour of the YAML Component.
How to reproduce
symfony_test:
from: [pending, created, scheduled]
to: courierconfirmed
metadata:
color: 'DarkGreen'
arrow_color: 'DarkGreen'
label: "Lorem ipsum\n(hey)"
Here is the result:
Possible Solution
Close the <font>
tag before \n
and reopen it after that new line.
Additional Context
See also #49174