From 4671eeca57c23f7c13b4d17401889f975e25d737 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 4 Feb 2024 18:31:29 +0000 Subject: [PATCH] Replace tab character with 4 spaces in messages for now. --- src/mami.js/messages.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mami.js/messages.js b/src/mami.js/messages.js index fb57688..e833362 100644 --- a/src/mami.js/messages.js +++ b/src/mami.js/messages.js @@ -15,6 +15,7 @@ Umi.Messages = (function() { OnRemove: onRemove, OnClear: onClear, Send: function(text) { + text = text.replace(/\t/g, ' '); Umi.Server.sendMessage(text); for(const i in onSend) onSend[i](text);