content: string;
this.content = "The system was unable to process your request.<br/>Please use your browser back button.";
.content{
white-space: pre-line;
}
<div class="card-body text-center">
<span class="content">
{{ content }}
</span>
</div>
pre-line is supposed to break in
tags, instead, I get the full message including the tag. I've already tried with \n and
but nothing seems to work.
` tag as part of the text? If so, css has nothing to do with it – Ted Feb 21 '20 at 16:12
, and as necessary to fill line boxes. – Dinesh Iyngaran Feb 21 '20 at 16:13