Skip to content

Commit

Permalink
fix: using text area instead of div to decode
Browse files Browse the repository at this point in the history
  • Loading branch information
twskj authored and twskj committed Dec 30, 2018
1 parent d65a279 commit 935dde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function extractJSONs(str) {
var decoder;
function decodeHTML(str, idx) {
if (!decoder) {
decoder = document.createElement("div");
decoder = document.createElement("textarea");
}

var i = idx;
Expand Down

0 comments on commit 935dde1

Please sign in to comment.