Browse Source

HTML outputs are now unescaped correctly when converted to a string

n1474335 7 years ago
parent
commit
2b703b2b9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/web/OutputWaiter.js

+ 1 - 1
src/web/OutputWaiter.js

@@ -64,7 +64,7 @@ OutputWaiter.prototype.set = function(data, type, duration, preserveBuffer) {
 
 
             outputText.value = "";
             outputText.value = "";
             outputHtml.innerHTML = data;
             outputHtml.innerHTML = data;
-            this.dishStr = Utils.stripHtmlTags(data, true);
+            this.dishStr = Utils.unescapeHtml(Utils.stripHtmlTags(data, true));
             length = data.length;
             length = data.length;
             lines = this.dishStr.count("\n") + 1;
             lines = this.dishStr.count("\n") + 1;