From 5eb14d6d09638c9ba3f034a019a8cd54c512b238 Mon Sep 17 00:00:00 2001
From: LarsVomMars
Date: Fri, 29 Jan 2021 11:31:24 +0100
Subject: Some fixes
---
profile/public/user.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'profile/public/user.js')
diff --git a/profile/public/user.js b/profile/public/user.js
index 39d6713..9a55682 100644
--- a/profile/public/user.js
+++ b/profile/public/user.js
@@ -13,7 +13,7 @@ function addUser(userData) {
if (!questions.hasOwnProperty(questionID)) continue;
const question = questions[questionID];
const div = document.createElement("div");
- div.innerHTML = `${question.question} ${question.answer || ""}`;
+ div.innerHTML = `${question.question.replace(//g, ">")} ${question.answer.replace(//g, ">") || ""}`;
divs.push(div);
}
const h1 = document.createElement("h1");
--
cgit v1.2.3