Formatting text received via api
<p>I get text via api and sometimes the text can be like so:</p>

<pre><code>hello
world!
How are you?
</code></pre>

<p>But I do need the text to be like this:</p>

<pre><code>hello world! How are you?
</code></pre>

<p>How to do that?</p>
