diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index d103527..51fe00e 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -20,7 +20,7 @@ document.addEventListener("DOMContentLoaded", async function() { }); document.getElementById("readInput").addEventListener("click", async function() { - let parserData = document.getElementById("inputTextArea").value.split("\n").filter(r=>r === ""); + let parserData = document.getElementById("inputTextArea").value.split("\n").filter(r=>r !== ""); console.log(parserData); });