diff --git a/js/bookmarks.js b/js/bookmarks.js
index 438b72ac..4be95135 100644
--- a/js/bookmarks.js
+++ b/js/bookmarks.js
@@ -265,7 +265,7 @@ function updateBookmarksList(bookmark, position) {
var taglist = '';
for ( var i=0, len=tags.length; i
- - <%= encodeEntities(title == '' ? url : title ) %> + + <%= escapeHTML(title == '' ? encodeURI(url) : title ) %> - <%= encodeEntities(description)%> + <%= escapeHTML(description)%> <%= formatDate(added_date) %>
+ value="<%= escapeHTML(title) %>"/>
+ value="<%= encodeURI(url)%>"/>
+ ><%= escapeHTML(description) %>