mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
got toggle help to still work
This commit is contained in:
@@ -26,7 +26,10 @@ public record LocalQuizQuestion
|
||||
: $"[{correctIndicator}] ";
|
||||
|
||||
// var textWithSpecificNewline = answer.Text.Replace(Environment.NewLine, Environment.NewLine + " ");
|
||||
return $"{questionTypeIndicator}{answer.Text}";
|
||||
var multilineMarkdownCompatibleText = answer.Text.StartsWith("```")
|
||||
? Environment.NewLine + answer.Text
|
||||
: answer.Text;
|
||||
return $"{questionTypeIndicator}{multilineMarkdownCompatibleText}";
|
||||
});
|
||||
var answersText = string.Join(Environment.NewLine, answerArray);
|
||||
var questionTypeIndicator = QuestionType == "essay" || QuestionType == "short_answer" ? QuestionType : "";
|
||||
|
||||
Reference in New Issue
Block a user