导出修改
This commit is contained in:
@@ -299,7 +299,18 @@ namespace IRaCIS.Core.Application.Contracts
|
|||||||
public string LatestReplyUserName { get; set; } = String.Empty;
|
public string LatestReplyUserName { get; set; } = String.Empty;
|
||||||
|
|
||||||
public string Content { get; set; } = string.Empty;
|
public string Content { get; set; } = string.Empty;
|
||||||
public string ContentReplaced => Content.Replace("<br>", "").Replace("<br/>", "").Replace("<div style='margin-left:20px'>", "").Replace("</div>", "");
|
public string ContentReplaced {
|
||||||
|
|
||||||
|
get {
|
||||||
|
|
||||||
|
var msg= Content.Replace("<div style='margin-left:20px'>", "").Replace("</div>", "");
|
||||||
|
|
||||||
|
string[] substrings = msg.Split(new string[] { "<br>", "<br/>" }, StringSplitOptions.None);
|
||||||
|
|
||||||
|
return string.Join("\n\n", substrings);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
[DictionaryTranslateAttribute("ChallengeIsClosed")]
|
[DictionaryTranslateAttribute("ChallengeIsClosed")]
|
||||||
public bool IsClosed { get; set; }
|
public bool IsClosed { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user