Fix encoding
This commit is contained in:
parent
e2ee65b828
commit
5e9d0bf554
|
@ -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>`
|
||||||
|
|
Loading…
Reference in New Issue