Jonathan пре 8 година
родитељ
комит
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