diff --git a/tools/run_tests/run_microbenchmark.py b/tools/run_tests/run_microbenchmark.py
index edc9e6a80014ac62f64245e9448cb49fdc3e96b0..fe901056c596a675c22cb387c98003ce30f8d161 100755
--- a/tools/run_tests/run_microbenchmark.py
+++ b/tools/run_tests/run_microbenchmark.py
@@ -75,7 +75,7 @@ def link(txt, tgt):
 
 def text(txt):
   global index_html
-  index_html += "<p><pre>%s</pre></p>" % txt
+  index_html += "<p><pre>%s</pre></p>\n" % txt
 
 def collect_latency(bm_name, args):
   """generate latency profiles"""