lojban commited on
Commit
88d3ee1
·
verified ·
1 Parent(s): 4879d26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -264,9 +264,7 @@ async () => {
264
  });
265
 
266
  function trimSocketChunk(text) {
267
- return text
268
- .replace(/[\n\r]+$/gims, " ")
269
- .replace(/<br *\/?>/gims, " ");
270
  }
271
  socket1Chat.on("sentFrom", function (data) {
272
  if (!socket1Chat_connected) return;
 
264
  });
265
 
266
  function trimSocketChunk(text) {
267
+ return text;
 
 
268
  }
269
  socket1Chat.on("sentFrom", function (data) {
270
  if (!socket1Chat_connected) return;