removing lock date same as due date option

This commit is contained in:
2023-10-13 12:24:02 -06:00
parent 1fb90756e1
commit e7daf5f77f
8 changed files with 25 additions and 59 deletions

View File

@@ -26,8 +26,8 @@ public record LocalQuizQuestion
? $"{correctIndicator}{questionLetter}) "
: $"[{correctIndicator}] ";
var textWithSpecificNewline = answer.Text.Replace(Environment.NewLine, Environment.NewLine + " ");
return $"{questionTypeIndicator}{textWithSpecificNewline}";
// var textWithSpecificNewline = answer.Text.Replace(Environment.NewLine, Environment.NewLine + " ");
return $"{questionTypeIndicator}{answer.Text}";
});
var answersText = string.Join(Environment.NewLine, answerArray);
var questionTypeIndicator = QuestionType == "essay" || QuestionType == "short_answer" ? QuestionType : "";