deason 3 years ago
parent
commit
b5dbb3a5ed

+ 1 - 1
src/main/java/cn/com/qmth/dp/examcloud/oe/modules/export_exam_student_score/ExportExamStudentScore.java

@@ -226,7 +226,7 @@ public class ExportExamStudentScore {
                 } else {
                     // 主观题默认不设置“作答”列
                     if (needSubjective) {
-                        curDynamicColumnValues.add(Jsoup.clean(question.getStudentAnswer() != null ? question.getStudentAnswer() : "", Safelist.relaxed()));
+                        curDynamicColumnValues.add(Jsoup.clean(question.getStudentAnswer() != null ? question.getStudentAnswer() : "", Safelist.simpleText()));
 
                         Double studentScore = subjectiveQuestionScores.get(question.getMainNumber() + "-" + question.getOrder());
                         curDynamicColumnValues.add(studentScore != null ? studentScore.toString() : "0");