diff --git a/backend/app.py b/backend/app.py
index 50ce785..7b117bf 100644
--- a/backend/app.py
+++ b/backend/app.py
@@ -37,7 +37,7 @@ def enqueue():
     if not helpers.is_valid_uuid(client_id):
         print(request.data)
         abort(400)
-    name = request.json['name']
+    name = request.json['name'].strip()
     song_id = request.json['id']
     if request.authorization:
         entry_id = database.add_entry(name, song_id, client_id)
diff --git a/backend/templates/main_admin.html b/backend/templates/main_admin.html
index ac98b48..4649063 100644
--- a/backend/templates/main_admin.html
+++ b/backend/templates/main_admin.html
@@ -187,15 +187,16 @@
     function TableActions(value, row, index) {
         let outerHTML = ""
         if (row.Transferred == 1) {
-            outerHTML = "  ";
+            outerHTML = "  ";
         } else {
-            outerHTML = "  ";
+            outerHTML = "  ";
         }
         return outerHTML;
     }
 
     function CopyFormatter(value, row, index) {
-        return ""+value+"";
+        let escapedString = value.replace("\"","\\\"").replace("\'", "\\\'")
+        return ""+value+"";
     }
 
     function getIdSelections() {