From 1f5e35cd47a9baaaa6fa559c06640f47c9e79554 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 20 九月 2018 20:41:48 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/FriendSystem/MailAllModel.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/System/FriendSystem/MailAllModel.cs b/System/FriendSystem/MailAllModel.cs
index d38ac28..938afba 100644
--- a/System/FriendSystem/MailAllModel.cs
+++ b/System/FriendSystem/MailAllModel.cs
@@ -89,6 +89,8 @@
private Dictionary<string, MailInfo> mailModelDict = new Dictionary<string,MailInfo>();
private List<MailInfo> timeOrderMailInfo = new List<MailInfo>();
private Regex smatch = new Regex(@"<MailTemplate>([^>.\n]*)</MailTemplate>([^>.\n]*)", RegexOptions.Singleline);
+ private Regex smatchSystem = new Regex(@"[\\]*\/[\\]*", RegexOptions.Singleline);
+
public string mailTitleStr = "";
public string mailContentstr = "";
public string mailSendPersonStr = "";
@@ -345,6 +347,7 @@
public void GetReciveMailContent(MailInfo info)
{
Debug.Log(info.Text);
+ info.Text = smatchSystem.Replace(info.Text, "/");
if (smatch.IsMatch(info.Text))
{
Match match = smatch.Match(info.Text);
@@ -422,7 +425,7 @@
if(mailContentArray.Length > 2)
{
- string mailDes = Regex.Replace(mailContentArray[2], @"<[\\]+/r>", "</r>");
+ string mailDes = mailContentArray[2];
mailContentstr = mailDes;
}
}
--
Gitblit v1.8.0