浏览代码

阅卷bug修改

weiwenhai 7 年之前
父节点
当前提交
2007ca90da

+ 1 - 1
examcloud-core-questions-service/src/main/java/cn/com/qmth/examcloud/core/questions/service/impl/ExtractConfigServiceImpl.java

@@ -1067,7 +1067,7 @@ public class ExtractConfigServiceImpl implements ExtractConfigService {
 		}
 		else if(number == -1){
 			if(s.startsWith("<p>")){
-				s = s.replaceAll("<p>","<p style=\"margin-left:40px;\">").replaceFirst("<p style=\"margin-left:40px;\">", "<p style=\"margin-left:20px;color:red;\">" + "答案:").replace("<p style=\"margin-left:40px;\">", "<p style=\"margin-left:40px;color:red;\">");
+				s = s.replaceAll("<p>","<p style=\"margin-left:65px;\">").replaceFirst("<p style=\"margin-left:65px;\">", "<p style=\"margin-left:20px;color:red;\">" + "答案:").replace("<p style=\"margin-left:65px;\">", "<p style=\"margin-left:65px;color:red;\">");
 			}else{
 				s = "<p style=\"margin-left:20px;color:red;\">" +  "答案:" + s + "</p>";
 			}