Jonathan 8 лет назад
Родитель
Сommit
b2b8fa8ce5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      backend/logic/global.js

+ 1 - 1
backend/logic/global.js

@@ -44,7 +44,7 @@ class Timer {
 module.exports = {
 	io: null, // Socket.io
 	db: null, // Database
-	htmlEntities: (str) => {
+	htmlEntities: str => {
 		return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
 	},
 	Timer