I am displaying a message like this:
<td class="Msg">
<div class="collapse">
<h4 class="message">{{statement.Msg}}</h4>
</div>
</td>
I have tried formatting in many ways but the message always appears like this:
a, b, c, d, e
But there should be a linebreak after each comma. When I look in FireBug, I see that the innerHTML is properly formatted.
How can I display the innerHTML of the statement.Msg?
EDIT: The message in the innerHTML is delimited by \r\n. That is how it's stored in the database and that's the innerHTML I see in FireBug, but it is not formatted that way on the page.
white-space: pre;on.message?breakthat does that for you and then you can bind the html tomessage|break.