|
@@ -133,7 +133,7 @@ namespace TEAMModelOS.Service.Evaluation.Implements
|
|
|
string RegexStr = ComposeStart + "([\\s\\S]*?)" + ComposeEnd;
|
|
|
Match mt = Regex.Match(html, RegexStr);
|
|
|
exercise.Question= HtmlHelper.DoUselessTag(mt.Value.Replace(ComposeStart,"").Replace(ComposeEnd,""));
|
|
|
- string testinfo = Regex.Replace(html, RegexStr, "").Replace(ComposeTag,"【");
|
|
|
+ string testinfo = Regex.Replace(html, RegexStr, "").Replace(ComposeTag,CompleteStart);
|
|
|
//获取综合题的材料加每个小题的sha1Code
|
|
|
string testQs= HtmlHelper.DoTextImg(exercise.Question);
|
|
|
List<ExerciseDto> dtos = AnalyzeWordAsync(testinfo, Lang);
|
|
@@ -286,7 +286,7 @@ namespace TEAMModelOS.Service.Evaluation.Implements
|
|
|
{
|
|
|
nbsp += " ";
|
|
|
}
|
|
|
- ReplaceDto replaceDto = new ReplaceDto { oldstr = "【" + an + "】", newstr = "<underline data=\"" + index + "\"><u>" + nbsp + "</u></underline>" };
|
|
|
+ ReplaceDto replaceDto = new ReplaceDto { oldstr = CompleteStart + an + CompleteEnd, newstr = "<underline data=\"" + index + "\"><u>" + nbsp + "</u></underline>" };
|
|
|
replaces.Add(replaceDto);
|
|
|
ans.Add(an);
|
|
|
m = m.NextMatch();
|