I would insert the output inside a ```<pre>...</pre>``` HTML tag to keep it pre-formatted.