Index: lnt/server/ui/templates/utils.html
===================================================================
--- lnt/server/ui/templates/utils.html
+++ lnt/server/ui/templates/utils.html
@@ -130,3 +130,14 @@
 
     
 {% endmacro %}
+
+{% macro newline_to_br(value) %}
+  {# Split lines in multi-line values. #}
+  {% if '\n' in value|string %}
+    {% for ln in (value|string).split('\n') %}
+      {{ ln }}
+    {% endfor %}
+  {% else %}
+    {{value}}
+  {% endif %}
+{% endmacro %}
Index: lnt/server/ui/templates/v4_machine.html
===================================================================
--- lnt/server/ui/templates/v4_machine.html
+++ lnt/server/ui/templates/v4_machine.html
@@ -53,7 +53,7 @@
     {% for key,value in machine.parameters|dictsort %}
     
       | {{key}} | 
-      {{value}} | 
+      {{ utils.newline_to_br(value) }} | 
     
     {% endfor %}
   
Index: lnt/server/ui/templates/v4_run.html
===================================================================
--- lnt/server/ui/templates/v4_run.html
+++ lnt/server/ui/templates/v4_run.html
@@ -144,7 +144,7 @@
   {% for item in machine.fields %}
     
       |  {{item.name}}  | 
-      {{machine.get_field(item)}} | 
+      {{ utils.newline_to_br(machine.get_field(item)) }} | 
     
   {% endfor %}
   
@@ -154,7 +154,7 @@
   {% for key,value in machine.parameters|dictsort %}
     
       |  {{key}}  | 
-      {{value}} | 
+      {{ utils.newline_to_br(value) }} | 
     
   {% endfor %}
   
@@ -171,7 +171,7 @@
     {% for item in run.fields %}
       
         |  {{item.name}}  | 
-        {{run.get_field(item)}} | 
+        {{ utils.newline_to_br(run.get_field(item)) }} | 
       
     {% endfor %}
   
@@ -184,16 +184,7 @@
     {% for key, value in run.parameters|dictsort(case_sensitive=True) %}
       
         |  {{key}}  | 
-        {# Split lines in multi-line values. #}
-        {% if '\n' in value|string %}
-          
-          {% for ln in (value|string).split('\n') %}
-            {{ ln }} 
-          {% endfor %}
-           | 
-        {% else %}
-          {{value}} | 
-        {% endif %}
+        {{ utils.newline_to_br(value) }} | 
       
     {% endfor %}