How can I properly display formatted text in HTML with a text string from my database? The text should be contained within a <div class="col-xs-12">
and nested inside the div, there should be a <pre>
tag.
When the text size exceeds the width of the screen, it extends beyond the boundaries of the div, as shown in the screenshot. Is there a way to automatically break the line when there is no more space available, so that the remaining text continues on a new line? Thank you!