From 0fd0981a391ba2d0fcdd8b49a31e27a43aed82c8 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 7 Apr 2023 13:56:04 -0600 Subject: [PATCH] Q can be image in http --- public/root.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/root.html b/public/root.html index 5267b79..8b8ca28 100644 --- a/public/root.html +++ b/public/root.html @@ -17,6 +17,7 @@
+

@@ -92,9 +93,15 @@ todo = ["", {Q: "ALL DONE"}] } + form.children.status.innerHTML = knowledgebase.length.toString() + form.children.idq.value = todo[0] - form.children.question.innerHTML = `

${todo[1].Q}

` + if (todo[1].Q.startsWith("img:")) { + form.children.question.innerHTML = `` + } else { + form.children.question.innerHTML = `

${todo[1].Q}

` + } form.children.question.value = todo[1].Q let clues = ""