瀏覽代碼

HTML outputs are now unescaped correctly when converted to a string

n1474335 7 年之前
父節點
當前提交
2b703b2b9b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;