|
|
@ -151,11 +151,11 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
|
|
|
var name = String(item.name);
|
|
|
|
var name = String(item.name);
|
|
|
|
|
|
|
|
|
|
|
|
/* Horrible */
|
|
|
|
/* Horrible */
|
|
|
|
name = name.replace(""", "\"");
|
|
|
|
name = name.replace(/"/g, "\"");
|
|
|
|
name = name.replace("&", "&");
|
|
|
|
name = name.replace(/&/g, "&");
|
|
|
|
name = name.replace("—", "-");
|
|
|
|
name = name.replace(/—/g, "-");
|
|
|
|
name = name.replace("<", "<");
|
|
|
|
name = name.replace(/</g, "<");
|
|
|
|
name = name.replace(">", ">");
|
|
|
|
name = name.replace(/>/g, ">");
|
|
|
|
|
|
|
|
|
|
|
|
if (item.unread > 0) {
|
|
|
|
if (item.unread > 0) {
|
|
|
|
return name + " (" + item.unread + ")";
|
|
|
|
return name + " (" + item.unread + ")";
|
|
|
|