diff options
author | Andrew Dolgov <[email protected]> | 2021-03-14 15:20:59 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-14 15:20:59 +0300 |
commit | 50ddfaf18b0b9aae7768facb39a3314d23961835 (patch) | |
tree | c87546cbc0c264f5a920f3bc16706387928fc425 /js | |
parent | ac851686875ec8d2478f768fb1ec3b86a99961e7 (diff) |
sanitize retrieved wiktionary content (just in case)
Diffstat (limited to 'js')
-rw-r--r-- | js/reader.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/reader.js b/js/reader.js index 2dfa4ea..dcb7c27 100644 --- a/js/reader.js +++ b/js/reader.js @@ -395,6 +395,8 @@ const Reader = { $.post("backend.php", {op: "wikisearch", query: $(".dict_query").val()}) .then((resp) => { try { + console.log('wikisearch resp', resp); + let tmp = ""; $.each(resp.query.pages, (i,p) => { |