summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BrowserSource/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/BrowserSource/index.html b/BrowserSource/index.html
index 216e013..d677eb6 100644
--- a/BrowserSource/index.html
+++ b/BrowserSource/index.html
@@ -82,7 +82,7 @@
let opacity = 1.0 - (age - min_age_s) / (max_age_s - min_age_s);
opacity = Math.max(0, opacity);
opacity = Math.min(1, opacity);
- transcriptHtml += `<span class="transcript" style="opacity: ${opacity};">${commit.delta}</span>`;
+ transcriptHtml += `<span class="transcript" style="opacity: ${opacity};">${commit.delta.trim() + ' '}</span>`;
});
// Append the preview with full opacity if it exists