From 5e9d0bf554748a3345437e7a8484fc05c77196d0 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Fri, 31 Dec 2021 16:28:46 -0300 Subject: [PATCH] Fix encoding --- static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.js b/static/index.js index 1f75c47..db10473 100644 --- a/static/index.js +++ b/static/index.js @@ -136,7 +136,7 @@ $(document).ready(() => { let html = ''; if(data.length === 0) { - html += `

Not found: ${word}

`; + html += `

Not found: ${decodeURIComponent(word)}

`; } else { data.forEach(entry => { html += `

${entry.word} (${entry.pos})

`