templates: preserve formatting in script output

Use <pre> instead of <samp> to display command output, as <pre>
preserves the new lines and the format of its inner text.
master
Alejandro Sirgo Rica 2024-07-01 09:29:41 +02:00
parent dbc610c40a
commit 14d6784958
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
</div>
<div id="collapse_{{ loop.index }}" class="collapse" aria-labelledby="heading_{{ loop.index }}">
<div class="card-body">
<p><samp>{{ client['output'] }}</samp></p>
<p><pre>{{ client['output'] }}</pre></p>
</div>
</div>
</div>