update
This commit is contained in:
parent
4baa5537a5
commit
e4b8c84fde
1 changed files with 1 additions and 0 deletions
1
fetch.js
1
fetch.js
|
@ -105,6 +105,7 @@ function parseAnswerElement(index, element, allAnswersElement) {
|
||||||
function parseQuestion(questionElement) {
|
function parseQuestion(questionElement) {
|
||||||
const textContent = questionElement.textContent.trim();
|
const textContent = questionElement.textContent.trim();
|
||||||
const matches = textContent.match(IS_QUESTION_REGEX);
|
const matches = textContent.match(IS_QUESTION_REGEX);
|
||||||
|
return textContent;
|
||||||
return matches !== null ? matches[1] : null;
|
return matches !== null ? matches[1] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue