diff --git a/webapp/templates/twitch-moderation.html b/webapp/templates/twitch-moderation.html index a00a283..a5a852c 100644 --- a/webapp/templates/twitch-moderation.html +++ b/webapp/templates/twitch-moderation.html @@ -651,7 +651,7 @@ // ============================= var displayedMessages = new Set(); var isAutoScroll = true; -var currentUsername = '{{ current_user.username }}'; +var currentUsername = {{ current_user.username | tojson }}; function escapeHtml(text) { var div = document.createElement('div');