Browse Source

HTML outputs are now unescaped correctly when converted to a string

n1474335 7 năm trước cách đây
mục cha
commit
2b703b2b9b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = "";
             outputHtml.innerHTML = data;
-            this.dishStr = Utils.stripHtmlTags(data, true);
+            this.dishStr = Utils.unescapeHtml(Utils.stripHtmlTags(data, true));
             length = data.length;
             lines = this.dishStr.count("\n") + 1;