From 5c656675e8a45f1ba6cf57dfdd32a2ef0c9acf85 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 25 Jun 2012 22:01:28 +0800 Subject: Bug 767038: review flags no longer link from attachment table to comment --- extensions/InlineHistory/web/inline-history.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js index c4930e15b..e07872c9e 100644 --- a/extensions/InlineHistory/web/inline-history.js +++ b/extensions/InlineHistory/web/inline-history.js @@ -373,9 +373,9 @@ var inline_history = { }, htmlDecode: function(v) { - var e = document.createElement('div'); + var e = document.createElement('textarea'); e.innerHTML = v; - return e.childNodes.length == 0 ? '' : e.childNodes[0].nodeValue; + return e.value; }, trim: function(s) { -- cgit v1.2.3-24-g4f1b