1
1
Fork 0
This commit is contained in:
Dominik Säume 2024-05-23 17:40:03 +02:00
parent 3d316fab7d
commit 732f670b33
Signed by: SZUT-Dominik
GPG key ID: 67D15BB250B41E7C

View file

@ -89,6 +89,11 @@ function parseAnswerElement(index, element, allAnswersElement) {
const answersElement = getAnswersElement(index, allAnswersElement);
if (answersElement === null || answersElement.tagName === "UL") return;
console.log({
question: questionText,
answers: getAnswers(answersElement),
});
return {
question: questionText,
answers: getAnswers(answersElement),