HTML formatting reset by \n

+2 votes
asked Jul 11, 2013 in Bug by ur (160 points)
Hi, it seems there is another minor bug in the sequence diagrams section of PlantUML.

The following code in the text attached to an arrow

A -> B: <i>line1\nline2</i>

renders line1 as italic, line2 as plain.

My expectation is that a line break does not reset the formatting.

KInd regards,

Uwe
commented Jul 16, 2018 by albert (3,180 points)
Still the case and at the end even '</i>' is written. A workaround is to use '<i>line1</i>\n<i>line2</i>'

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...