limit fix to problematic chars
This commit is contained in:
parent
ddd29e9d3f
commit
7e86cdc6c7
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ namespace BirdsiteLive.Domain.Tools
|
|||
// Replace return lines
|
||||
messageContent = Regex.Replace(messageContent, @"\r\n\r\n?|\n\n", "</p><p> ");
|
||||
messageContent = Regex.Replace(messageContent, @"\r\n?|\n", "<br/> ");
|
||||
messageContent = Regex.Replace(messageContent, @"\(", "( ");
|
||||
messageContent = Regex.Replace(messageContent, @"\(@", "( @");
|
||||
messageContent = Regex.Replace(messageContent, @"\(#", "( #");
|
||||
|
||||
// Secure emojis
|
||||
var emojiMatch = _emojiRegex.Matches(messageContent);
|
||||
|
|
Reference in a new issue