multiline support for the text block

The text block now checks whether the data it needs to show should be fit over multiple lines. If so, the text is chopped up, and each line is given its own `<p>` element.