How to Insert a Line Break in a String in Perspective

Using the markdown component is not a bad solution for formatting text and will work just fine without enabling markup support. You just have to format your text to use the appropriate markdown syntax for a new line (use two carriage returns instead of injecting a <br>).

How do I do this?

I'm creating a multi-state indicator of sorts, and sometimes I want it to display one line of text, other times I want it to display two.

e.g. sometimes I just want "Drive Running" centred in the object, while sometimes I want

Drive Fault
Fault Code: 123

Still centred in the object. Using two labels isn't practical as I'd have to auto-position them based on whether I had one or two lines. I can format text wrapping in styles, but that doesn't help me to force a new line when there's still more room on the first line (I don't think there's a way to do that using styles, happy to be corrected).

So I think the markdown solution is my best shot (unless there's a multi-state indicator coming shortly?).

If I understand correctly, I should not enable markup support for security reasons. This (again, if I understand correctly) means I need to leave the "escape HTML" box checked, which in turn means I can't just use <br> to force a new line.

How do I insert two carriage returns into my expression?