forked from cory/tildefriends
		
	Fixes chat encoding problems.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3362 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -410,11 +410,6 @@ function niceTime(lastTime, thisTime) { | ||||
| async function formatMessage(message) { | ||||
| 	var result; | ||||
| 	if (typeof message == "string") { | ||||
| 		for (let i = message.length - 1; i >= 0; i--) { | ||||
| 			if (message.charCodeAt(i) >= 128 || message.charCodeAt(i) < 32) { | ||||
| 				message = message.substring(0, i) + "\\" + message.charCodeAt(i).toString() + message.substring(i + 1); | ||||
| 			} | ||||
| 		} | ||||
| 		result = []; | ||||
| 		var regex = /(\w+:\/*\S+?)(?=(?:[\.!?])?(?:$|\s))/gi; | ||||
| 		var match; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user