Compare commits
No commits in common. "bdb12a7df33e6fd7c7899584fbb80a4335e562f4" and "81b56c03b7be467fbc12fd298ab61acb0e22cd4f" have entirely different histories.
bdb12a7df3
...
81b56c03b7
|
|
@ -299,18 +299,7 @@ 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 {
|
public string ContentReplaced => Content.Replace("<br>", "").Replace("<br/>", "").Replace("<div style='margin-left:20px'>", "").Replace("</div>", "");
|
||||||
|
|
||||||
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; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue