Fix encoding

This commit is contained in:
Augusto Gunsch 2021-12-31 16:28:46 -03:00
parent e2ee65b828
commit 5e9d0bf554
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ $(document).ready(() => {
let html = ''; let html = '';
if(data.length === 0) { if(data.length === 0) {
html += `<h1>Not found: <mark>${word}</mark></h1>`; html += `<h1>Not found: <mark>${decodeURIComponent(word)}</mark></h1>`;
} else { } else {
data.forEach(entry => { data.forEach(entry => {
html += `<h1>${entry.word} <span class="pos">(${entry.pos})</span></h1>` html += `<h1>${entry.word} <span class="pos">(${entry.pos})</span></h1>`