diff --git a/copyparty/web/browser2.html b/copyparty/web/browser2.html
index 7b9053c8..47e4b12e 100644
--- a/copyparty/web/browser2.html
+++ b/copyparty/web/browser2.html
@@ -28,7 +28,11 @@
{%- endif %}
{%- if logues[0] %}
-
{{ logues[0] }}
+ {%- if sb_lg %}
+ {{ logues[0][:2000]|e }}
+ {%- else %}
+ {{ logues[0][:2000] }}
+ {%- endif %}
{%- endif %}
{%- if logues[1] %}
- {{ logues[1] }}
+ {%- if sb_lg %}
+ {{ logues[1][:2000]|e }}
+ {%- else %}
+ {{ logues[1][:2000] }}
+ {%- endif %}
{%- endif %}