diff --git a/js/misc-functions.js b/js/misc-functions.js index f304d98..a575a54 100644 --- a/js/misc-functions.js +++ b/js/misc-functions.js @@ -1189,7 +1189,7 @@ function saveAllBookmarks() { $.each($('#bookmark-container .stream-selection'), function(key,obj) { bookmarkContainer[i] = new Object(); bookmarkContainer[i].dataStreamHref = $(obj).attr('href'); - bookmarkContainer[i].dataStreamHeader = $(obj).html(); + bookmarkContainer[i].dataStreamHeader = $(obj).text(); i++; }); @@ -1211,7 +1211,7 @@ function appendAllBookmarks(bookmarkContainer) { $('#bookmark-container').html(''); var bookmarkContainerParsed = JSON.parse(bookmarkContainer); $.each(bookmarkContainerParsed, function(key,obj) { - $('#bookmark-container').append('' + obj.dataStreamHeader + ''); + $('#bookmark-container').append('' + obj.dataStreamHeader + ''); }); } $('#bookmark-container').sortable({delay: 100}); @@ -1232,7 +1232,7 @@ function updateHistoryLocalStorage() { $.each($('#history-container .stream-selection'), function(key,obj) { historyContainer[i] = new Object(); historyContainer[i].dataStreamHref = $(obj).attr('href'); - historyContainer[i].dataStreamHeader = $(obj).html(); + historyContainer[i].dataStreamHeader = $(obj).text(); i++; }); localStorageObjectCache_STORE('browsingHistory', window.loggedIn.screen_name,historyContainer); @@ -1259,7 +1259,7 @@ function loadHistoryFromLocalStorage() { $('#history-container').css('display','block'); $('#history-container').html(''); $.each(cacheData, function(key,obj) { - $('#history-container').append('' + obj.dataStreamHeader + ''); + $('#history-container').append('' + obj.dataStreamHeader + ''); }); } updateHistoryLocalStorage();