summaryrefslogtreecommitdiff
path: root/js/reader.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-14 15:20:59 +0300
committerAndrew Dolgov <[email protected]>2021-03-14 15:20:59 +0300
commit50ddfaf18b0b9aae7768facb39a3314d23961835 (patch)
treec87546cbc0c264f5a920f3bc16706387928fc425 /js/reader.js
parentac851686875ec8d2478f768fb1ec3b86a99961e7 (diff)
sanitize retrieved wiktionary content (just in case)
Diffstat (limited to 'js/reader.js')
-rw-r--r--js/reader.js2
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) => {