diff --git a/templates/contactslist.html b/templates/contactslist.html
index 642ec2f4316e98051a0806c0908625eac0323d6b..787245a6b42e45fd0e7a979b26a3a645811248e7 100644
--- a/templates/contactslist.html
+++ b/templates/contactslist.html
@@ -27,7 +27,7 @@ $(document).ready(function() {
$('input.autocomplete').autocomplete({
data: {
- "{{ @contact.full_name }}": null{{ @contact.photo }},
+ "{{ @contact.full_name }}": null"{{ @contact.photo }}",
},
limit: 20,