Spaces:
Running
Running
Update app.py
Browse files
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;
|