Skip to content

Commit

Permalink
filter out useless lines
Browse files Browse the repository at this point in the history
  • Loading branch information
FallBackITA27 committed Apr 11, 2024
1 parent a06d9d5 commit d64db85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkwpp-parser/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ document.addEventListener("DOMContentLoaded", async function() {
});

document.getElementById("readInput").addEventListener("click", async function() {
let parserData = document.getElementById("inputTextArea").value.split("\n");
let parserData = document.getElementById("inputTextArea").value.split("\n").filter(r=>r === "");
console.log(parserData);
});

Expand Down

0 comments on commit d64db85

Please sign in to comment.