Skip to content

Commit e1c9da2

Browse files
committed
fix: liberator.log() shows unnecessary value "function() thisv.value"
1 parent 9eedf4b commit e1c9da2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/content/liberator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ const Liberator = Module("liberator", {
692692
if (typeof msg == "object")
693693
msg = Cc["@mozilla.org/feed-unescapehtml;1"]
694694
.getService(Ci.nsIScriptableUnescapeHTML)
695-
.unescape(util.objectToString(msg, false));
695+
.unescape(util.objectToString(msg, false).value);
696696

697697
services.get("console").logStringMessage(config.name.toLowerCase() + ": " + msg);
698698
},

common/content/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ const Util = Module("util", {
569569
return String.localeCompare(a[0], b[0]);
570570
}
571571
xml["+="](string, template.map2(xml, keys.sort(compare), function (f) f[1]));
572-
return color ? string : [s for each (s in string)].join("");
572+
return string;
573573
},
574574

575575
/**

0 commit comments

Comments
 (0)