deason 3 년 전
부모
커밋
b5dbb3a5ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/cn/com/qmth/dp/examcloud/oe/modules/export_exam_student_score/ExportExamStudentScore.java

+ 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");