Compare commits

..

2 Commits

Author SHA1 Message Date
he bdb12a7df3 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2024-12-10 19:57:13 +08:00
he e456f8684c 导出修改 2024-12-10 19:57:12 +08:00
1 changed files with 12 additions and 1 deletions

View File

@ -299,7 +299,18 @@ namespace IRaCIS.Core.Application.Contracts
public string LatestReplyUserName { 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")]
public bool IsClosed { get; set; }